This is an automated email from the ASF dual-hosted git repository.
ashishtiwari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 16a22d3d test: failing flaky unit test (#2151)
16a22d3d is described below
commit 16a22d3db7d0f0ea559924858564856bbc014590
Author: Ashish Tiwari <[email protected]>
AuthorDate: Thu Feb 1 13:30:20 2024 +0530
test: failing flaky unit test (#2151)
* fix: failing flaky unit test
---
pkg/types/labels_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/types/labels_test.go b/pkg/types/labels_test.go
index ae9cd891..d38bda52 100644
--- a/pkg/types/labels_test.go
+++ b/pkg/types/labels_test.go
@@ -61,5 +61,5 @@ func TestBuildQuery(t *testing.T) {
"a": []string{"a1", "a2"},
"b": []string{"b1", "b2"},
}
- assert.Equal(t, []string{"a in (a1,a2)", "b in (b1,b2)"},
l.BuildQuery())
+ assert.ElementsMatch(t, l.BuildQuery(), []string{"a in (a1,a2)", "b in
(b1,b2)"})
}