Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/EsupPortail/Esup-Pod int…
Browse files Browse the repository at this point in the history
…o ptitloup/restore_video_password
  • Loading branch information
ptitloup committed Sep 25, 2023
2 parents 2ef13b7 + b748d41 commit 90251d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pod/live/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_check_size_not_changing(self):
def modify_file():
modifications = 0

while modifications < 10:
while modifications < 14:
with open(resource_path, "a+") as f:
f.write(" some more content " + str(modifications))
modifications += 1
Expand All @@ -159,7 +159,7 @@ def modify_file():
# remove the temporary file
os.unlink(resource_path)

# Modify the file in a thread during 8 seconds
# Modify the file in a thread during +- 11 seconds (14 * 0.8)
thread = threading.Thread(target=modify_file)
thread.start()

Expand Down

0 comments on commit 90251d1

Please sign in to comment.