feat(watchdog): quarantine escalates to ask_owner; reinstate/retire resolve fail-safe (#45)
This commit is contained in:
1 parent
bf4844c010
commit
720352c45b
6 files changed
+207
-23
No files matched your search
+1
-1
@@ -122,7 +122,7 @@ func TestAskOwnerTimeoutFailSafe(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
s.askTimeout = time.Minute
|
||||
s.askTimeout.Store(int64(time.Minute))
|
||||
if r := askResolved(t, ts, id, stale.MsgID()); r != "rejected" {
|
||||
t.Fatalf("an ask unanswered past the window is not a yes, got resolved=%v", r)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user