Signals can happen on any thread, so look for the signal handler not the command on the callstack

Former-commit-id: f1d2b2945007f8811528b197480e255c6b35559c
This commit is contained in:
John Sully 2019-10-24 23:30:08 -04:00
parent bd9ea70609
commit df8a20a744

View File

@ -6,7 +6,7 @@ if {$system_name eq {linux} || $system_name eq {darwin}} {
test "Server is able to generate a stack trace on selected systems" { test "Server is able to generate a stack trace on selected systems" {
r config set watchdog-period 200 r config set watchdog-period 200
r debug sleep 1 r debug sleep 1
set pattern "*debugCommand*" set pattern "*watchdogSignalHandler*"
set retry 10 set retry 10
while {$retry} { while {$retry} {
set result [exec tail -100 < [srv 0 stdout]] set result [exec tail -100 < [srv 0 stdout]]