mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
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 <farcaller@gmail.com>
This commit is contained in:
parent
b411864be5
commit
b44d81a6f3
@ -71,7 +71,7 @@ var _ = Describe("certificate rotation", Ordered, func() {
|
|||||||
Expect(err).ToNot(HaveOccurred())
|
Expect(err).ToNot(HaveOccurred())
|
||||||
certHashAfter, err := testutil.RunCommand("md5sum " + tmpdDataDir + "/server/tls/serving-kube-apiserver.crt | cut -f 1 -d' '")
|
certHashAfter, err := testutil.RunCommand("md5sum " + tmpdDataDir + "/server/tls/serving-kube-apiserver.crt | cut -f 1 -d' '")
|
||||||
Expect(err).ToNot(HaveOccurred())
|
Expect(err).ToNot(HaveOccurred())
|
||||||
Expect(caCertHash).To(Not(Equal(certHashAfter)))
|
Expect(certHash).To(Not(Equal(certHashAfter)))
|
||||||
Expect(caCertHash).To(Equal(caCertHashAfter))
|
Expect(caCertHash).To(Equal(caCertHashAfter))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user