fix(xugu): stabilize watchdog test

This commit is contained in:
t8y2
2026-07-22 10:51:44 +08:00
parent b7f38a088e
commit 9e53fe28f8
+2 -2
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")
}
}