Skip to content

Commit

Permalink
sleep cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
pjbull committed Jun 8, 2024
1 parent 38c0094 commit 463c0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def test_environment_variables_force_overwrite_to(rig: CloudProviderTestRig, tmp
assert p.stat().st_mtime > orig_cloud_mod_time # cloud now overwritten

new_also_cloud = rig.create_cloud_path("dir_0/another_cloud_file.txt")
sleep(0.01) # give time so not equal
sleep(0.51) # give time so not equal when rounded
new_also_cloud.write_text("newer")

new_cloud_mod_time = new_also_cloud.stat().st_mtime
Expand Down

0 comments on commit 463c0c7

Please sign in to comment.