Skip to content

Commit

Permalink
Remove racy test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkorotkov committed Jan 30, 2017
1 parent eb3668e commit f561c5e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions writers_bufferedwriter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,6 @@ func TestChunkWriteOnFilling(t *testing.T) {
bufferedWriter.Write(bytes)
}

func TestFlushByTimePeriod(t *testing.T) {
writer, _ := newBytesVerifier(t)
bufferedWriter, err := NewBufferedWriter(writer, 1024, 10)

if err != nil {
t.Fatalf("Unexpected buffered writer creation error: %s", err.Error())
}

bytes := []byte("Hello")

for i := 0; i < 2; i++ {
writer.ExpectBytes(bytes)
bufferedWriter.Write(bytes)
}
}

func TestBigMessageMustPassMemoryBuffer(t *testing.T) {
writer, _ := newBytesVerifier(t)
bufferedWriter, err := NewBufferedWriter(writer, 1024, 0)
Expand Down

0 comments on commit f561c5e

Please sign in to comment.