Skip to content

Commit

Permalink
increase timeouts in fsnotify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lomik committed May 19, 2015
1 parent d8a23cf commit 3dd81e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions logging/rotate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ func TestFsnotifyRotate(t *testing.T) {
}

for i := 0; i < 10; i++ {
move(i)
time.Sleep(10 * time.Millisecond)
msg := fmt.Sprintf("Message #%d.", i)
move(i)
time.Sleep(30 * time.Millisecond)

msg := fmt.Sprintf("Message #%d.", i)
logrus.Info(msg)
checkExists(msg)
}
Expand Down

0 comments on commit 3dd81e5

Please sign in to comment.