TestLoop_WatchdogWithWorkDir tests that watchdog works with NewLoopWithWorkDir too.
(t *testing.T)
| 660 | |
| 661 | // TestLoop_WatchdogWithWorkDir tests that watchdog works with NewLoopWithWorkDir too. |
| 662 | func TestLoop_WatchdogWithWorkDir(t *testing.T) { |
| 663 | l := NewLoopWithWorkDir("/test/prd.json", "/work", "test", 5, testProvider) |
| 664 | |
| 665 | if l.WatchdogTimeout() != DefaultWatchdogTimeout { |
| 666 | t.Errorf("Expected default watchdog timeout for NewLoopWithWorkDir, got %v", l.WatchdogTimeout()) |
| 667 | } |
| 668 | } |
nothing calls this directly
no test coverage detected