Skip to content

Commit 179b104

Browse files
committed
Skip Cavium root validity test until January 15th, 2026
1 parent e3c373c commit 179b104

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kms/cloudkms/attestation_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,10 @@ func Test_getKeyType(t *testing.T) {
746746
// this package. The current certificate expires on November 16, 2025. We will
747747
// need to change it once Marvell changes it.
748748
func TestValidateCaviumRoot(t *testing.T) {
749+
if !time.Now().After(time.Unix(1768460400, 0)) { // retrigger test after Thu Jan 15 2026 07:00:00
750+
t.Skip("skipping expired Cavium root test until Thu Jan 15 2026 07:00:00 GMT")
751+
}
752+
749753
root, err := pemutil.ParseCertificate([]byte(caviumRoot))
750754
require.NoError(t, err)
751755

0 commit comments

Comments
 (0)