mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 17:09:16 +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:
committed by
Brad Davidson
parent
d814456e90
commit
100e114fa3
@@ -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))
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user