summaryrefslogtreecommitdiff
path: root/pceplib/test/pcep_session_logic_loop_test.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-11-29 19:33:48 -0500
committerDonald Sharp <sharpd@nvidia.com>2021-11-29 20:55:30 -0500
commitc9f92703bc66f2a764e9475751a50c2697a3f255 (patch)
tree173298dfc49ecfa1e10305c0f17e084ee06eb6b9 /pceplib/test/pcep_session_logic_loop_test.c
parent31ccdb903ffca482c1cca5b9222204848a6cdeb1 (diff)
tests: Fix Daemon Killing to actually notice when a deamon dies
Lot's of the GR topotests kill daemons in order to test code that deals with crashing daemons. Under heavy system load it was noticed that a kill command was sent and if told to wait we would sleep 2 seconds send another kill command and call it good. This was causiing issues when subsuquent json commands would get errors like `lost connection to daemon` as the daemon finally shut down after some time due to load. Modify the kill the daemon function to notice that the daemon was not actually killed and if we need to wait wait some more time for it too happen Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pceplib/test/pcep_session_logic_loop_test.c')
0 files changed, 0 insertions, 0 deletions