1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2025-02-07 06:28:26 +00:00
Kevin Song 08b5ad94fd
ci: Fix aws::expiration_date_set_from_file race (#3484)
* ci: Fix aws::expiration_date_set_from_file race

While aws::expiration_date_set_from_file will almost-always work
perfectly locally, it is theoretically possible for the thread running
the test to be scheduled away betwen writing the file with timing
information and then actually reading it, resulting in a
shorter-than-expected time appearing in the module. This can also happen
if the test triggers right at the very end of a second (e.g. at
10:45:47.999995).

This appears to actually happen sometimes on heavily-loaded GitHub
Actions runners. To fix this issue, we allow for up to a two-second
delay between when the file is written and when the test actually fires
(allowing "30m", "29m59s", and "29m58s" as possible values).

* Fix typo
2022-01-22 12:54:04 +01:00
..
2021-12-06 23:01:33 +01:00
2022-01-09 23:47:53 -06:00
2022-01-04 12:49:42 +03:00
2022-01-21 09:44:46 -06:00
2022-01-04 12:49:42 +03:00
2022-01-04 12:49:42 +03:00
2022-01-09 23:47:53 -06:00
2021-11-15 06:46:13 +01:00