Skip to content

Commit 61b8cee

Browse files
committed
Adjust split clients test assertion
1 parent 0eabb19 commit 61b8cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/nginx/config/split_clients_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ func TestCreateRequestMirrorSplitClients(t *testing.T) {
542542
t.Parallel()
543543
g := NewWithT(t)
544544
result := createRequestMirrorSplitClients(test.servers)
545-
g.Expect(result).To(Equal(test.expSplitClients))
545+
g.Expect(result).To(ContainElements(test.expSplitClients))
546546
})
547547
}
548548
}

0 commit comments

Comments
 (0)