From 500e157b391e7acaf7127aa0ba88b175e7a14d49 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Fri, 14 Feb 2020 12:04:38 +0100 Subject: 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. --- test/gvfs-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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') -- cgit v1.2.1