Skip to content

Commit 0a3f7e7

Browse files
committed
fix test
Signed-off-by: SungJin1212 <[email protected]>
1 parent 9daf065 commit 0a3f7e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/parquetconverter/converter_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,12 @@ func TestConverter_ShouldConvertNoCompactMarkBlocks(t *testing.T) {
260260

261261
blocks := []ulid.ULID{}
262262
numBlocks := 2
263-
twoHour := 2 * time.Hour
263+
mint := time.Hour * 13
264+
maxt := time.Hour * 14
264265
// Create 2h blocks
265266
for i := 0; i < numBlocks; i++ {
266267
rnd := rand.New(rand.NewSource(time.Now().Unix()))
267-
id, err := e2e.CreateBlock(ctx, rnd, dir, []labels.Labels{lbls}, 2, 0, twoHour.Milliseconds(), time.Minute.Milliseconds(), 10)
268+
id, err := e2e.CreateBlock(ctx, rnd, dir, []labels.Labels{lbls}, 2, mint.Milliseconds(), maxt.Milliseconds(), time.Minute.Milliseconds(), 10)
268269
require.NoError(t, err)
269270
blocks = append(blocks, id)
270271
}

0 commit comments

Comments
 (0)