You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
mylogger.warn("Attempting to kill a stale runestone serve process: {}".format(ptokill))
55
60
os.kill(ptokill, signal.SIGKILL)
56
-
time.sleep(2)
61
+
time.sleep(2)# give the old process a couple seconds to clear out
57
62
try:
58
63
os.kill(ptokill, 0) # will throw an Error if process gone
59
64
pytest.exit("Stale runestone server can't kill process: {}".format(ptokill))
@@ -65,7 +70,6 @@ def setUpModule(self):
65
70
exceptException:
66
71
pytest.exit("Unknown error while trying to kill stale runestone server")
67
72
68
-
69
73
# Run the server. Simply calling ``runestone serve`` fails, since the process killed isn't the actual server, but probably a setuptools-created launcher.
0 commit comments