Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
linasm committed Dec 1, 2020
1 parent 24dd262 commit 651cc8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dbnode/persist/fs/streaming_write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func TestReadStreamingWriteEmptyFileset(t *testing.T) {
filePathPrefix := filepath.Join(dir, "")
defer os.RemoveAll(dir)

w := newTestStreamingWriter(t, filePathPrefix, 0, testWriterStart, 0, 0)
w := newTestStreamingWriter(t, filePathPrefix, 0, testWriterStart, 0, 1)
err := streamingWriteTestData(t, w, testWriterStart, nil)
require.NoError(t, err)
err = w.Close()
Expand Down Expand Up @@ -208,7 +208,7 @@ func TestStreamingWriterAbort(t *testing.T) {
filePathPrefix := filepath.Join(dir, "")
defer os.RemoveAll(dir)

w := newTestStreamingWriter(t, filePathPrefix, 0, testWriterStart, 0, 0)
w := newTestStreamingWriter(t, filePathPrefix, 0, testWriterStart, 0, 1)
err := streamingWriteTestData(t, w, testWriterStart, nil)
require.NoError(t, err)
err = w.Abort()
Expand Down

0 comments on commit 651cc8f

Please sign in to comment.