Skip to content

Commit

Permalink
Fix flaky querier unit test (#6377)
Browse files Browse the repository at this point in the history
Signed-off-by: SungJin1212 <[email protected]>
  • Loading branch information
SungJin1212 authored Nov 27, 2024
1 parent 8c053a3 commit a78470b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/querier/querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,6 @@ func TestQuerier_ValidateQueryTimeRange_MaxQueryIntoFuture(t *testing.T) {
}

func TestQuerier_ValidateQueryTimeRange_MaxQueryLength(t *testing.T) {
t.Parallel()
const maxQueryLength = 30 * 24 * time.Hour

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

func TestQuerier_ValidateQueryTimeRange_MaxQueryLength_Series(t *testing.T) {
t.Parallel()
const maxQueryLength = 30 * 24 * time.Hour

//parallel testing causes data race
Expand Down

0 comments on commit a78470b

Please sign in to comment.