From 6d56f3a6eb8e36a84199c208f8614fde1c665243 Mon Sep 17 00:00:00 2001 From: Charlie Jones Date: Fri, 13 Sep 2024 15:05:45 -0500 Subject: [PATCH] Set poll_seconds --- internal/goverseer/watcher/file_watcher/file_watcher_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/goverseer/watcher/file_watcher/file_watcher_test.go b/internal/goverseer/watcher/file_watcher/file_watcher_test.go index c9ac43c..d54b33e 100644 --- a/internal/goverseer/watcher/file_watcher/file_watcher_test.go +++ b/internal/goverseer/watcher/file_watcher/file_watcher_test.go @@ -125,7 +125,8 @@ func TestFileWatcher_Watch(t *testing.T) { Watcher: config.WatcherConfig{ Type: "file", Config: map[string]interface{}{ - "path": testFilePath, + "path": testFilePath, + "poll_seconds": 1, // Set a short poll interval for testing }, }, Executioner: config.ExecutionerConfig{},