Closed mssalvatore closed 1 year ago
It looks like the issue is that the pipe on .15 times out after 10 seconds (infection_monkey.relay.consts.SOCKET_TIMEOUT
) and closes. This allows .15 to close its tunnel and shutdown.
Modifying SOCKET_TIMEOUT
to be 2x the heartbeat period should resolve the issue.
Describe the bug
Agents should shut down quickly when the
TERMINATE
signal is sent. Agents involved in tunneling do not shut down. 120 seconds is the maximum amount of time the test suite is willing to wait for an agent to shut down.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Agents should shut down much more quickly.