X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ffork%2Ftest_fork.py;h=ec444aef71143128c72d91550be1cd76a3739e02;hb=9de0e15cc3a0a24f05aefc347e602c5c3f40b728;hp=62faf71f1ad121ded11c65e321f269a2a59492a5;hpb=745a10bf7cc26933ca2e5bdc487322e00f83725f;p=lttng-tools.git diff --git a/tests/regression/ust/fork/test_fork.py b/tests/regression/ust/fork/test_fork.py index 62faf71f1..ec444aef7 100644 --- a/tests/regression/ust/fork/test_fork.py +++ b/tests/regression/ust/fork/test_fork.py @@ -47,7 +47,7 @@ fork_process = subprocess.Popen([test_path + "fork", test_path + "fork2"], stdou if sys.version_info >= (3, 3): try: fork_process.wait(5) - except TimeoutExpired: + except subprocess.TimeoutExpired: fork_process.kill() bail("Failed to run fork test application (time out)", session_info) else: