summaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-python-test-Ice-timeout-AllTests.py
blob: ed0d80f3089ba187356749bd30b15bb0e7e6848f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- python/test/Ice/timeout/AllTests.py.orig	2019-08-12 19:54:18 UTC
+++ python/test/Ice/timeout/AllTests.py
@@ -249,9 +249,9 @@ def allTests(communicator):
     comm = Ice.initialize(initData)
     connection = comm.stringToProxy(sref).ice_getConnection();
     timeout.holdAdapter(800);
-    now = time.clock();
+    now = time.perf_counter();
     comm.destroy();
-    test((time.clock() - now) < 0.7);
+    test((time.perf_counter() - now) < 0.7);
 
     print("ok")