Skip to content

Commit

Permalink
updating file test to write/wait/write instead of just write/wait
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis committed Jul 24, 2016
1 parent fc45bf8 commit f0541db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ func testFile(f *Stream, t *testing.T) {
}

for i := 0; i < 10; i++ {
f.Write(testdata)
f.Write(testdata[:10])
<-time.After(10 * time.Millisecond)
f.Write(testdata[10:])
}

f.Close()
Expand Down

0 comments on commit f0541db

Please sign in to comment.