Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Runner: Add --now Flag to Override Current Time #6

Closed
just-max opened this issue Sep 12, 2023 · 0 comments · Fixed by #7
Closed

Test Runner: Add --now Flag to Override Current Time #6

just-max opened this issue Sep 12, 2023 · 0 comments · Fixed by #7

Comments

@just-max
Copy link
Owner

just-max commented Sep 12, 2023

The test runner currently checks the current time (Unix.gettimeofday) to decide whether to set Config.show_hidden. A --now flag should be added as an alternative, to override the current time.

Advantages:

  • don't have to worry about timezone or clock issues inside the docker container
  • if set by a CI runner to the build start time, no issues with builds taking a long time to reach the call to Unix.gettimeofday.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant