Skip to content

Commit 5262695

Browse files
committed
Fix delay for GH Actions
1 parent 599735b commit 5262695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
SNOOZE_TIME = 0.5 if os.environ.get("GITHUB_ACTION") else 0.1
1818
# Finder comments need more time to be written to disk
1919
FINDER_COMMENT_SNOOZE = 2.0
20-
LONG_SNOOZE = 3.0 # some tests need a longer snooze time
21-
20+
# some tests need a longer snooze time
21+
LONG_SNOOZE = 10.0 if os.environ.get("GITHUB_ACTION") else 3.0
2222

2323
def snooze(seconds: float = SNOOZE_TIME) -> None:
2424
"""Sleep for a bit to allow Finder to update metadata"""

0 commit comments

Comments
 (0)