Skip to content

Commit

Permalink
sleep for flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
pjbull committed Oct 8, 2023
1 parent 64ec8bc commit 95f8cb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def test_interaction_with_local_cache_dir(rig: CloudProviderTestRig, tmpdir):
assert cp.client.file_cache_mode == FileCacheMode.tmp_dir

# download from cloud into the cache
sleep(0.1) # test can be flaky saing that the cache dir doesn't exist yet
with cp.open("r") as f:
_ = f.read()

Expand Down

0 comments on commit 95f8cb8

Please sign in to comment.