summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2014-10-21 16:32:13 +0200
committerOndrej Holy <oholy@redhat.com>2014-10-24 08:56:16 +0200
commitfc0d9af54300efee6165f7ca778ffb0d15030335 (patch)
tree3c41615e91beaeea2117c63cc52da985dd22d944 /test
parentb7871c6ea836f8f357dfe78cabb9f90f08385660 (diff)
downloadgvfs-fc0d9af54300efee6165f7ca778ffb0d15030335.tar.gz
tests: increase timeout for starting ftp server
There is "Time out after 5 s." in log for commit 2f83f3a. However timeout is only 50 * 0.01 = 0.5 sec. So increse step from 0.01 to 0.1 sec to be really 5 sec. I need this because 0.5 sec isn't enought on my laptop.
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 f3dd4784..952bcf5c 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -563,7 +563,7 @@ class Ftp(GvfsTestCase):
s.close()
break
except ConnectionRefusedError:
- time.sleep(0.01)
+ time.sleep(0.1)
pass
else:
self.fail('timed out waiting for test FTP server')