projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: eliminate process timeouts from Python tests
[lttng-tools.git]
/
tests
/
regression
/
ust
/
ust-dl
/
test_ust-dl.py
diff --git
a/tests/regression/ust/ust-dl/test_ust-dl.py
b/tests/regression/ust/ust-dl/test_ust-dl.py
index 9801012a7e83791ec9f3a85f6da401f54c91098d..d9bc60a75bc27dd1a22c84ce7802ea3526f49b1c 100644
(file)
--- 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)
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
print_test_result(test_process.returncode == 0, current_test, "Test application exited normally")
current_test += 1
This page took
0.023724 seconds
and
4
git commands to generate.