Skip to content

Commit

Permalink
Set poll_seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
cjonesy committed Sep 13, 2024
1 parent e0d67f5 commit 6d56f3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/goverseer/watcher/file_watcher/file_watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand Down

0 comments on commit 6d56f3a

Please sign in to comment.