X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ftype-declarations%2Ftest_type_declarations.py;h=b2fa282a182b8efc2bbf24603ec7477e777c3075;hb=b6e2447a0a8d7fcd62c9c592082f5543eb10ade4;hp=6f2d5ff689cbc20818eae24495ece89bb230e3e5;hpb=2f16a8f9f5b5b37e103ba68c07f14c5beb8464e7;p=lttng-tools.git diff --git a/tests/regression/ust/type-declarations/test_type_declarations.py b/tests/regression/ust/type-declarations/test_type_declarations.py index 6f2d5ff68..b2fa282a1 100644 --- a/tests/regression/ust/type-declarations/test_type_declarations.py +++ b/tests/regression/ust/type-declarations/test_type_declarations.py @@ -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