X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ffork%2Ftest_fork.py;h=3baa8cc389dc6aa88e4f21de8880b2ea324b19d2;hb=7cd988f06d15559d0e455f519cc8da814696462e;hp=62faf71f1ad121ded11c65e321f269a2a59492a5;hpb=37bd6c8e4c4a3d7054d97627e4fb4bef1d4612a6;p=lttng-tools.git diff --git a/tests/regression/ust/fork/test_fork.py b/tests/regression/ust/fork/test_fork.py index 62faf71f1..3baa8cc38 100644 --- a/tests/regression/ust/fork/test_fork.py +++ b/tests/regression/ust/fork/test_fork.py @@ -43,15 +43,7 @@ enable_ust_tracepoint_event(session_info, "ust_tests_fork*") start_session(session_info) fork_process = subprocess.Popen([test_path + "fork", test_path + "fork2"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - -if sys.version_info >= (3, 3): - try: - fork_process.wait(5) - except TimeoutExpired: - fork_process.kill() - bail("Failed to run fork test application (time out)", session_info) -else: - fork_process.wait() +fork_process.wait() parent_pid = -1 child_pid = -1