X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.py;h=d9bc60a75bc27dd1a22c84ce7802ea3526f49b1c;hb=6f698634fc3357dac77ea7e7ab9d07b7b8bf9270;hp=9801012a7e83791ec9f3a85f6da401f54c91098d;hpb=1f8f19a417b0b818b7edf566812acf7cf3d21f24;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/test_ust-dl.py b/tests/regression/ust/ust-dl/test_ust-dl.py index 9801012a7..d9bc60a75 100644 --- a/tests/regression/ust/ust-dl/test_ust-dl.py +++ b/tests/regression/ust/ust-dl/test_ust-dl.py @@ -51,15 +51,7 @@ test_env["LD_LIBRARY_PATH"] = test_env.get("LD_LIBRARY_PATH", "") + ":" + test_p test_process = subprocess.Popen(test_path + "prog", stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=test_env) - -if sys.version_info >= (3, 3): - try: - test_process.wait(5) - except subprocess.TimeoutExpired: - test_process.kill() - bail("Failed to run ust-dl test application.", session_info) -else: - test_process.wait() +test_process.wait() print_test_result(test_process.returncode == 0, current_test, "Test application exited normally") current_test += 1