starship/src
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
..
configs feat: add a container indicator (#3304) 2022-01-21 09:44:46 -06:00
formatter fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
init perf(elvish): Use built-in `randint` instead of `starship session`. (#3479) 2022-01-21 08:08:14 +01:00
modules ci: Fix aws::expiration_date_set_from_file race (#3484) 2022-01-22 12:54:04 +01:00
test feat: add a container indicator (#3304) 2022-01-21 09:44:46 -06:00
bug_report.rs fix(bug-report): remove git.io link shortening (#3425) 2022-01-14 15:22:36 +03:00
config.rs fix: update continuation prompt to be more minimal (#3374) 2022-01-01 14:39:08 -05:00
configure.rs refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
context.rs feat: add a container indicator (#3304) 2022-01-21 09:44:46 -06:00
lib.rs fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
logger.rs fix(clippy): fix new clippy lints (#2939) 2021-07-29 14:27:46 -04:00
main.rs refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
module.rs feat: add a container indicator (#3304) 2022-01-21 09:44:46 -06:00
print.rs refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
segment.rs feat: Add a fill module to pad out the line (#3029) 2021-09-12 19:59:15 -04:00
utils.rs feat: add a container indicator (#3304) 2022-01-21 09:44:46 -06:00