Skip to content

Commit 4418f9f

Browse files
Jakub Sliacanopenshift-merge-robot
authored andcommitted
e2e: check cert renewal after 1y instead of at 3mo
1 parent 0417591 commit 4418f9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/features/cert_rotation.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Certificate rotation test
88
Background: Setup CRC and rewind the clock forward
99
When executing crc setup command succeeds
1010
And executing "sudo timedatectl set-ntp off" succeeds
11-
Then executing "sudo date -s '3 month'" succeeds
11+
Then executing "sudo date -s '13 month'" succeeds
1212
And with up to "10" retries with wait period of "1s" command "virsh --readonly -c qemu:///system capabilities" output matches "^<capabilities>"
1313

1414
Scenario: Start CRC "in the future" and clean up
@@ -20,7 +20,7 @@ Feature: Certificate rotation test
2020
Then executing "oc whoami" succeeds
2121
And stdout should contain "kubeadmin"
2222
# Set clock back to the original time
23-
When executing "sudo date -s '-3 month'" succeeds
23+
When executing "sudo date -s '-13 month'" succeeds
2424
And executing "sudo timedatectl set-ntp on" succeeds
2525
# CRC delete and cleanup
2626
When executing "crc delete -f" succeeds

0 commit comments

Comments
 (0)