speedup pj demo test

This commit is contained in:
Adeeb Shihadeh
2024-05-25 11:40:10 -07:00
committed by GitHub
parent b9244f1031
commit cd21d64058

View File

@@ -26,7 +26,7 @@ class TestPlotJuggler:
output += p.stderr.readline().decode("utf-8")
# ensure plotjuggler didn't crash after exiting the plugin
time.sleep(15)
time.sleep(2)
assert p.poll() is None
os.killpg(os.getpgid(p.pid), signal.SIGTERM)