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
/
fork
/
test_fork.py
diff --git
a/tests/regression/ust/fork/test_fork.py
b/tests/regression/ust/fork/test_fork.py
index ec444aef71143128c72d91550be1cd76a3739e02..3baa8cc389dc6aa88e4f21de8880b2ea324b19d2 100644
(file)
--- a/
tests/regression/ust/fork/test_fork.py
+++ b/
tests/regression/ust/fork/test_fork.py
@@
-43,15
+43,7
@@
enable_ust_tracepoint_event(session_info, "ust_tests_fork*")
start_session(session_info)
fork_process = subprocess.Popen([test_path + "fork", test_path + "fork2"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
start_session(session_info)
fork_process = subprocess.Popen([test_path + "fork", test_path + "fork2"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-
-if sys.version_info >= (3, 3):
- try:
- fork_process.wait(5)
- except subprocess.TimeoutExpired:
- fork_process.kill()
- bail("Failed to run fork test application (time out)", session_info)
-else:
- fork_process.wait()
+fork_process.wait()
parent_pid = -1
child_pid = -1
parent_pid = -1
child_pid = -1
This page took
0.024191 seconds
and
4
git commands to generate.