aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-11 22:28:48 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-11 22:28:48 +0000
commite7ad0772a08e02f2fd2975d5f88144cc314519d0 (patch)
tree3ff23b26b2c8bbf61fc3dbb95400ce4f438dd4a8
parenta373d56479f2b94028fd79f999094e0147256ca4 (diff)
downloadgnunet-e7ad0772a08e02f2fd2975d5f88144cc314519d0.tar.gz
gnunet-e7ad0772a08e02f2fd2975d5f88144cc314519d0.zip
-use 5 ms for timeout, not 5 us
-rw-r--r--src/dht/test_dht_tools.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/test_dht_tools.py.in b/src/dht/test_dht_tools.py.in
index 724783661..186c39b96 100644
--- a/src/dht/test_dht_tools.py.in
+++ b/src/dht/test_dht_tools.py.in
@@ -113,7 +113,7 @@ print ("PASS")
113time.sleep (1) 113time.sleep (1)
114 114
115print ("TEST: Testing get...", end='') 115print ("TEST: Testing get...", end='')
116rc, stdo, stde = r_get (['-k', 'testkey', '-T', '5', '-t', '8'], want_stdo = True, failer = end_arm_failer) 116rc, stdo, stde = r_get (['-k', 'testkey', '-T', '5 ms', '-t', '8'], want_stdo = True, failer = end_arm_failer)
117stdo = stdo.replace ('\r', '').splitlines () 117stdo = stdo.replace ('\r', '').splitlines ()
118expect = "Result 0, type 8:\ntestdata".splitlines() 118expect = "Result 0, type 8:\ntestdata".splitlines()
119if len (stdo) != 2 or len (expect) != 2 or stdo[0] != expect[0] or stdo[1] != expect[1]: 119if len (stdo) != 2 or len (expect) != 2 or stdo[0] != expect[0] or stdo[1] != expect[1]: