Skip to content

Commit a78470b

Browse files
authored
Fix flaky querier unit test (#6377)
Signed-off-by: SungJin1212 <[email protected]>
1 parent 8c053a3 commit a78470b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/querier/querier_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,6 @@ func TestQuerier_ValidateQueryTimeRange_MaxQueryIntoFuture(t *testing.T) {
801801
}
802802

803803
func TestQuerier_ValidateQueryTimeRange_MaxQueryLength(t *testing.T) {
804-
t.Parallel()
805804
const maxQueryLength = 30 * 24 * time.Hour
806805

807806
tests := map[string]struct {
@@ -890,7 +889,6 @@ func TestQuerier_ValidateQueryTimeRange_MaxQueryLength(t *testing.T) {
890889
}
891890

892891
func TestQuerier_ValidateQueryTimeRange_MaxQueryLength_Series(t *testing.T) {
893-
t.Parallel()
894892
const maxQueryLength = 30 * 24 * time.Hour
895893

896894
//parallel testing causes data race

0 commit comments

Comments
 (0)