summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-11-10 14:41:08 -0800
committerMicah Lee <micah@micahflee.com>2019-11-10 14:41:08 -0800
commit81584e12ff6eddf8755409be0136872c4086c561 (patch)
treecfe2b0b5dc971520ab5b7a0e6cf013fe81c45068 /tests
parent6df5ab75f680892341af94a138b35ec24f29f29e (diff)
downloadonionshare-81584e12ff6eddf8755409be0136872c4086c561.tar.gz
onionshare-81584e12ff6eddf8755409be0136872c4086c561.zip
Try increasing waits more
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gui_receive.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_gui_receive.py b/tests/test_gui_receive.py
index b3971144..4ee0abd8 100644
--- a/tests/test_gui_receive.py
+++ b/tests/test_gui_receive.py
@@ -17,8 +17,8 @@ class TestReceive(GuiBaseTest):
):
"""Test that we can upload the file"""
- # Wait 1.1 seconds to make sure the filename, based on timestamp, isn't accidentally reused
- QtTest.QTest.qWait(1100)
+ # Wait 2 seconds to make sure the filename, based on timestamp, isn't accidentally reused
+ QtTest.QTest.qWait(2000)
files = {"file[]": open(file_to_upload, "rb")}
url = f"http://127.0.0.1:{tab.app.port}/upload"
@@ -45,7 +45,7 @@ class TestReceive(GuiBaseTest):
),
)
- QtTest.QTest.qWait(500)
+ QtTest.QTest.qWait(1000)
# Make sure the file is within the last 10 seconds worth of fileames
exists = False