[gvfs] tests: increase timeout for starting ftp server
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] tests: increase timeout for starting ftp server
- Date: Fri, 24 Oct 2014 06:57:33 +0000 (UTC)
commit fc0d9af54300efee6165f7ca778ffb0d15030335
Author: Ondrej Holy <oholy redhat com>
Date: Tue Oct 21 16:32:13 2014 +0200
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.
test/gvfs-test | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index f3dd478..952bcf5 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')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]