diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-11 22:28:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-11 22:28:48 +0000 |
commit | e7ad0772a08e02f2fd2975d5f88144cc314519d0 (patch) | |
tree | 3ff23b26b2c8bbf61fc3dbb95400ce4f438dd4a8 /src/dht/test_dht_tools.py.in | |
parent | a373d56479f2b94028fd79f999094e0147256ca4 (diff) | |
download | gnunet-e7ad0772a08e02f2fd2975d5f88144cc314519d0.tar.gz gnunet-e7ad0772a08e02f2fd2975d5f88144cc314519d0.zip |
-use 5 ms for timeout, not 5 us
Diffstat (limited to 'src/dht/test_dht_tools.py.in')
-rw-r--r-- | src/dht/test_dht_tools.py.in | 2 |
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") | |||
113 | time.sleep (1) | 113 | time.sleep (1) |
114 | 114 | ||
115 | print ("TEST: Testing get...", end='') | 115 | print ("TEST: Testing get...", end='') |
116 | rc, stdo, stde = r_get (['-k', 'testkey', '-T', '5', '-t', '8'], want_stdo = True, failer = end_arm_failer) | 116 | rc, stdo, stde = r_get (['-k', 'testkey', '-T', '5 ms', '-t', '8'], want_stdo = True, failer = end_arm_failer) |
117 | stdo = stdo.replace ('\r', '').splitlines () | 117 | stdo = stdo.replace ('\r', '').splitlines () |
118 | expect = "Result 0, type 8:\ntestdata".splitlines() | 118 | expect = "Result 0, type 8:\ntestdata".splitlines() |
119 | if len (stdo) != 2 or len (expect) != 2 or stdo[0] != expect[0] or stdo[1] != expect[1]: | 119 | if len (stdo) != 2 or len (expect) != 2 or stdo[0] != expect[0] or stdo[1] != expect[1]: |