summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2020-02-14 12:04:38 +0100
committerOndrej Holy <oholy@redhat.com>2020-02-14 12:17:26 +0100
commit500e157b391e7acaf7127aa0ba88b175e7a14d49 (patch)
treea89e3d7c12c891b1f694791fe0dc66ac4aa249c4 /test
parent984bffc287d0c7b2c4d33b4531bc8a4016421754 (diff)
downloadgvfs-500e157b391e7acaf7127aa0ba88b175e7a14d49.tar.gz
test: Increase timeout for starting ftp server
Currently, the test suite waits for starting the ftp server 5 seconds. This seems is not enough for GitLab CI as it randomly fails with "timed out waiting for test FTP server". Let's try to increase the timeout from 5 to 15 seconds in the hope that will fix the random failures.
Diffstat (limited to 'test')
-rwxr-xr-xtest/gvfs-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gvfs-test b/test/gvfs-test
index 8bd52218..3038923f 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -585,7 +585,7 @@ class Ftp(GvfsTestCase):
s.close()
break
except ConnectionRefusedError:
- time.sleep(0.1)
+ time.sleep(0.3)
pass
else:
self.fail('timed out waiting for test FTP server')