From b44d81a6f3dcda2b8dd5d4605d3b87558271b042 Mon Sep 17 00:00:00 2001 From: Vladimir Pouzanov Date: Wed, 28 Sep 2022 17:27:23 +0100 Subject: [PATCH] Fix the typo in the test CA cert will never be equal to the serving-kube-apiserver cert so it seems like a copy-paste error. Signed-off-by: Vladimir Pouzanov --- tests/integration/certrotation/certrotation_int_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/certrotation/certrotation_int_test.go b/tests/integration/certrotation/certrotation_int_test.go index fd3f7bd7e3..740a15c77a 100644 --- a/tests/integration/certrotation/certrotation_int_test.go +++ b/tests/integration/certrotation/certrotation_int_test.go @@ -71,7 +71,7 @@ var _ = Describe("certificate rotation", Ordered, func() { Expect(err).ToNot(HaveOccurred()) certHashAfter, err := testutil.RunCommand("md5sum " + tmpdDataDir + "/server/tls/serving-kube-apiserver.crt | cut -f 1 -d' '") Expect(err).ToNot(HaveOccurred()) - Expect(caCertHash).To(Not(Equal(certHashAfter))) + Expect(certHash).To(Not(Equal(certHashAfter))) Expect(caCertHash).To(Equal(caCertHashAfter)) }) })