Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123270
D4628.id16433.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
704 B
Subscribers
None
D4628.id16433.diff
View Options
diff --git a/swh/fuse/tests/test_revision.py b/swh/fuse/tests/test_revision.py
--- a/swh/fuse/tests/test_revision.py
+++ b/swh/fuse/tests/test_revision.py
@@ -72,11 +72,9 @@
assert depth2 in (os.listdir(dir_by_page / depth1))
dir_by_date = dir_path / "by-date"
- # Wait max 3 seconds to populate by-date/ dir
- for i in range(300):
- if ".status" not in os.listdir(dir_by_date):
- break
- time.sleep(0.01)
+ # TODO: rely on .status file instead to wait
+ # Wait 2 seconds to populate by-date/ dir
+ time.sleep(2)
for swhid in expected:
meta = get_data_from_web_archive(str(swhid))
date = dateutil.parser.parse(meta["date"])
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 9:03 AM (6 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220301
Attached To
D4628: FUSE: tests: use fixed delay in test_list_history
Event Timeline
Log In to Comment