Skip to content

Commit

Permalink
Fix bug in bug fix in unit test from alignment change (issue #11)
Browse files Browse the repository at this point in the history
#11

It seems I changed the start and end times based on using half hour
chunks, which align with the start/end times, but forgot to change the
chunk size itself to half an hour. Fixed.
  • Loading branch information
vcschapp committed Feb 8, 2022
1 parent 87e3364 commit 305bf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func TestStream_Close(t *testing.T) {
Groups: []string{"baz"},
Start: defaultStart,
End: defaultStart.Add(time.Duration(testCase.chunks) * 30 * time.Minute),
Chunk: time.Hour,
Chunk: 30 * time.Minute,
Priority: si,
})
require.NoError(t, err, "failed to start stream %d", si)
Expand Down

0 comments on commit 305bf9a

Please sign in to comment.