Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
resolve genSeries arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
  • Loading branch information
Krasi Georgiev committed Mar 28, 2019
1 parent e37bfc3 commit 509f382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestCreateBlock(t *testing.T) {
defer func() {
testutil.Ok(t, os.RemoveAll(tmpdir))
}()
b, err := OpenBlock(nil, createBlock(t, tmpdir, genSeries(1, 1, 0, 10)), nil)
b, err := OpenBlock(nil, createBlock(t, tmpdir, genSeries(1, 1, 0, 10, false)), nil)
if err == nil {
testutil.Ok(t, b.Close())
}
Expand Down Expand Up @@ -131,7 +131,7 @@ func TestCorruptedChunk(t *testing.T) {
testutil.Ok(t, os.RemoveAll(tmpdir))
}()

blockDir := createBlock(t, tmpdir, genSeries(1, 1, 0, 0))
blockDir := createBlock(t, tmpdir, genSeries(1, 1, 0, 0, false))
files, err := sequenceFiles(chunkDir(blockDir))
testutil.Ok(t, err)
testutil.Assert(t, len(files) > 0, "No chunk created.")
Expand Down

0 comments on commit 509f382

Please sign in to comment.