X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.py;h=d9bc60a75bc27dd1a22c84ce7802ea3526f49b1c;hb=b6e2447a0a8d7fcd62c9c592082f5543eb10ade4;hp=9801012a7e83791ec9f3a85f6da401f54c91098d;hpb=2f16a8f9f5b5b37e103ba68c07f14c5beb8464e7;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