aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmark.py')
-rw-r--r--src/benchmark.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index e3986d7..c96ff18 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -295,7 +295,7 @@ class Benchmark:
"""Start Servers
Servers are not allowed to deamonize because then they can't
- be terminated with their Popen object."""
+ be terminated using their Popen object."""
substitutions = {"alloc": alloc_name,
"perm": alloc_name,
@@ -366,6 +366,9 @@ class Benchmark:
print_debug("Stdout:", proc.stdout)
print_debug("Stderr:", proc.stderr)
+ # wait for server termination
+ sleep(5)
+
Benchmark.terminate_subprocess(server["popen"])
def shutdown_servers(self):