File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
extension/observer/kafkatopicsobserver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,11 +105,11 @@ func TestCollectEndpointsAllConfigSettings(t *testing.T) {
105
105
Details : & observer.KafkaTopic {},
106
106
},
107
107
}
108
- require .Equal (t , want , kEndpoints )
108
+ require .ElementsMatch (t , want , kEndpoints )
109
109
110
110
time .Sleep (5 * time .Second )
111
111
kEndpoints = obvs .ListEndpoints ()
112
- require .Equal (t , want , kEndpoints )
112
+ require .ElementsMatch (t , want , kEndpoints )
113
113
114
114
time .Sleep (5 * time .Second )
115
115
kEndpoints = obvs .ListEndpoints ()
@@ -120,7 +120,7 @@ func TestCollectEndpointsAllConfigSettings(t *testing.T) {
120
120
Details : & observer.KafkaTopic {},
121
121
},
122
122
}
123
- require .Equal (t , want , kEndpoints )
123
+ require .ElementsMatch (t , want , kEndpoints )
124
124
125
125
err = obvs .Shutdown (context .Background ())
126
126
require .NoError (t , err )
You can’t perform that action at this time.
0 commit comments