Commit b5ae93f
e2e: Perform crc setup after moving the clock 3 months ahead
The cert renewal e2e test moves the clock 3 months ahead in order to
make sure certificate renewal is working as expected.
However, `crc setup` is run during the time travel. Since `crc setup`
can try to create TLS connections to public servers (when using 'yum'
for example), this could fail unexpectedly as the certificates used by
these public servers may not be valid for 3 more months.
This commit moves crc setup before the date change to avoid such issues.
After the reordering, a short wait is needed for libvirt to become
available again, as `date -s "5 minutes" && virsh hostname` is failing
for a few seconds after the time jump.1 parent 9f83839 commit b5ae93f
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | | - | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
0 commit comments