Skip to content

Commit

Permalink
test: make TestLabelerRuleTTL stable (#8723)
Browse files Browse the repository at this point in the history
close #8687

Signed-off-by: okJiang <[email protected]>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
okJiang and ti-chi-bot[bot] authored Oct 18, 2024
1 parent f7c8e43 commit c43acaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/schedule/labeler/labeler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func TestKeyRange(t *testing.T) {
func TestLabelerRuleTTL(t *testing.T) {
re := require.New(t)
store := endpoint.NewStorageEndpoint(kv.NewMemoryKV(), nil)
labeler, err := NewRegionLabeler(context.Background(), store, time.Millisecond*10)
labeler, err := NewRegionLabeler(context.Background(), store, time.Minute)
re.NoError(err)
rules := []*LabelRule{
{
Expand Down

0 comments on commit c43acaa

Please sign in to comment.