Tests: eliminate process timeouts from Python tests
[lttng-tools.git] / tests / regression / ust / libc-wrapper / test_libc-wrapper.py
index 8f3222cc31c601e447d8db62f4a79c90f70f3f77..545d5662f3030ef64d2e7880f984c6f855a55328 100644 (file)
@@ -43,14 +43,7 @@ enable_ust_tracepoint_event(session_info, "lttng_ust_libc*")
 start_session(session_info)
 
 malloc_process = subprocess.Popen(test_path + "prog", stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-if sys.version_info >= (3, 3):
-    try:
-        malloc_process.wait(5)
-    except subprocess.TimeoutExpired:
-        malloc_process.kill()
-        bail("Failed to run libustinstr-malloc test application.", session_info)
-else:
-    malloc_process.wait()
+malloc_process.wait()
 
 print_test_result(malloc_process.returncode == 0, current_test, "Test application exited normally")
 current_test += 1
This page took 0.022987 seconds and 4 git commands to generate.