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

Adjust timesteps in unit tests to make macOS less likely to miss #275

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

eddelbuettel
Copy link
Contributor

The preceding PR stumbles twice on macOS in new-ish unit tests which check time traveling / vacuuming to assert it all works, and apparently have a subtle race condition leading to two re-run two of the last three runs on macOS.

The changed values here, essentially shifting 'half' a timestep instead of full timestep, appear to be more robust.

Copy link
Member

@ihnorton ihnorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, in TileDB-Py we write at fixed values in order to make the tests deterministic: https://github.com/TileDB-Inc/TileDB-Py/blob/425f66781d2fba40950da4d073c3661a10630319/tiledb/tests/test_libtiledb.py#L1220

@eddelbuettel eddelbuettel merged commit 549a2ab into master Jul 28, 2021
@eddelbuettel eddelbuettel deleted the de/tweak_test_time_step branch July 28, 2021 14:35
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 this pull request may close these issues.

3 participants