mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +00:00
adjust main test to account for new config format
This commit is contained in:
@@ -101,7 +101,7 @@ func TestStart(t *testing.T) {
|
||||
}()
|
||||
|
||||
exitCh := Start(cfg, b, sigCh)
|
||||
expectMessage(t, l.Info, "Config: Printing events: processes=true | file-system-events=true ||| Watching directories: [rdir1 rdir2] (recursive) | [dir1 dir2] (non-recursive)")
|
||||
expectMessage(t, l.Info, "Config: Printing events: processes=true | file-system-events=true ||| Scannning for processes every 16m39s and on inotify events ||| Watching directories: [rdir1 rdir2] (recursive) | [dir1 dir2] (non-recursive)")
|
||||
expectMessage(t, l.Info, "Draining file system events due to startup...")
|
||||
<-time.After(2 * drainFor)
|
||||
expectMessage(t, l.Info, "done")
|
||||
|
||||
Reference in New Issue
Block a user