From 30f1be09dad69f78b4dbe23c2a58f5a64d730e31 Mon Sep 17 00:00:00 2001 From: Vince Prignano Date: Fri, 6 Mar 2020 15:08:29 -0800 Subject: [PATCH] :running: Fix flake test in KCP webhook TestPaths Signed-off-by: Vince Prignano --- .../kubeadm/api/v1alpha3/kubeadm_control_plane_webhook_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook_test.go b/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook_test.go index 59bc82588036..66e80c90bf32 100644 --- a/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook_test.go +++ b/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook_test.go @@ -639,7 +639,7 @@ func TestPaths(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { g := NewWithT(t) - g.Expect(paths(tt.path, tt.diff)).To(Equal(tt.expected)) + g.Expect(paths(tt.path, tt.diff)).To(ConsistOf(tt.expected)) }) } }