fix(xugu): stabilize watchdog test

This commit is contained in:
t8y2 2026-07-22 10:50:15 +08:00
parent b7f38a088e
commit 9e53fe28f8
1 changed files with 2 additions and 2 deletions

View File

@ -942,8 +942,8 @@ func TestXuguWatchdogFiresKillAndCancel(t *testing.T) {
select {
case <-killCh:
default:
t.Fatal("killSession was not called when watchdog fired")
case <-time.After(time.Second):
t.Fatal("killSession was not called after watchdog cancellation")
}
}