Skip to content

Commit 873542f

Browse files
committed
fix test
1 parent b0e13c3 commit 873542f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/configwatcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ func TestConfigWatcher_Read(t *testing.T) {
434434
ch <- dynamic.ConfigEvent{Name: refPath.String(), Event: dynamic.Create, Config: refConfig}
435435

436436
time.Sleep(5 * time.Millisecond)
437-
require.Equal(t, []string{"foo://file.yml", "foo://ref.yml", "foo://file.yml", "foo://ref.yml"}, events)
437+
require.ElementsMatch(t, []string{"foo://file.yml", "foo://ref.yml", "foo://file.yml", "foo://ref.yml"}, events)
438438
},
439439
},
440440
}

0 commit comments

Comments
 (0)