mirror of
https://github.com/DominicBreuker/pspy.git
synced 2026-11-06 18:21:51 +00:00
adjust main test to account for new config format
This commit is contained in:
1 parent
d9d269446b
commit
27fe22319a
1 file changed
+1
-1
@@ -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