Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Tests: change 1ms sleeps to 50ms #422

Merged
merged 3 commits into from Jan 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions integration_test.go
Expand Up @@ -135,7 +135,7 @@ func TestFsnotifyMultipleOperations(t *testing.T) {
}
f.Sync()

time.Sleep(time.Millisecond)
time.Sleep(50 * time.Millisecond)
nshalman marked this conversation as resolved.
Show resolved Hide resolved
f.WriteString("data")
f.Sync()
f.Close()
Expand Down Expand Up @@ -248,7 +248,7 @@ func TestFsnotifyMultipleCreates(t *testing.T) {
}
f.Sync()

time.Sleep(time.Millisecond)
time.Sleep(50 * time.Millisecond)
f.WriteString("data")
f.Sync()
f.Close()
Expand All @@ -274,7 +274,7 @@ func TestFsnotifyMultipleCreates(t *testing.T) {
}
f.Sync()

time.Sleep(time.Millisecond)
time.Sleep(50 * time.Millisecond)
f.WriteString("data")
f.Sync()
f.Close()
Expand All @@ -288,7 +288,7 @@ func TestFsnotifyMultipleCreates(t *testing.T) {
}
f.Sync()

time.Sleep(time.Millisecond)
time.Sleep(50 * time.Millisecond)
f.WriteString("data")
f.Sync()
f.Close()
Expand Down Expand Up @@ -387,7 +387,7 @@ func TestFsnotifyDirOnly(t *testing.T) {
}
f.Sync()

time.Sleep(time.Millisecond)
time.Sleep(50 * time.Millisecond)
f.WriteString("data")
f.Sync()
f.Close()
Expand Down