From e7ad0772a08e02f2fd2975d5f88144cc314519d0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 11 Aug 2013 22:28:48 +0000 Subject: -use 5 ms for timeout, not 5 us --- src/dht/test_dht_tools.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dht/test_dht_tools.py.in') 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") time.sleep (1) print ("TEST: Testing get...", end='') -rc, stdo, stde = r_get (['-k', 'testkey', '-T', '5', '-t', '8'], want_stdo = True, failer = end_arm_failer) +rc, stdo, stde = r_get (['-k', 'testkey', '-T', '5 ms', '-t', '8'], want_stdo = True, failer = end_arm_failer) stdo = stdo.replace ('\r', '').splitlines () expect = "Result 0, type 8:\ntestdata".splitlines() if len (stdo) != 2 or len (expect) != 2 or stdo[0] != expect[0] or stdo[1] != expect[1]: -- cgit v1.2.3