Tests: eliminate process timeouts from Python tests
[lttng-tools.git] / tests / regression / ust / type-declarations / test_type_declarations.py
index 6f2d5ff689cbc20818eae24495ece89bb230e3e5..b2fa282a182b8efc2bbf24603ec7477e777c3075 100644 (file)
@@ -45,15 +45,7 @@ test_env = os.environ.copy()
 test_env["LTTNG_UST_REGISTER_TIMEOUT"] = "-1"
 
 td_process = subprocess.Popen(test_path + "type-declarations", stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=test_env)
-
-if sys.version_info >= (3, 3):
-    try:
-        td_process.wait(5)
-    except TimeoutExpired:
-        td_process.kill()
-        bail("Failed to run type-declarations test application.")
-else:
-    td_process.wait()
+td_process.wait()
 
 print_test_result(td_process.returncode == 0, current_test, "Test application exited normally")
 current_test += 1
This page took 0.038048 seconds and 4 git commands to generate.