Skip to content

Commit

Permalink
e2e: check cert renewal after 1y instead of at 3mo
Browse files Browse the repository at this point in the history
  • Loading branch information
jsliacan authored and openshift-merge-robot committed Jan 19, 2023
1 parent 0417591 commit 4418f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/features/cert_rotation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Certificate rotation test
Background: Setup CRC and rewind the clock forward
When executing crc setup command succeeds
And executing "sudo timedatectl set-ntp off" succeeds
Then executing "sudo date -s '3 month'" succeeds
Then executing "sudo date -s '13 month'" succeeds
And with up to "10" retries with wait period of "1s" command "virsh --readonly -c qemu:///system capabilities" output matches "^<capabilities>"

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

0 comments on commit 4418f9f

Please sign in to comment.