Skip to content

Commit

Permalink
Use smaller requests for TestIngester_inflightPushRequests
Browse files Browse the repository at this point in the history
The amount of data required to process for 1 second may be very large;
1/10th of a second allows the test to work with much less resource.
  • Loading branch information
bboreham committed Feb 27, 2024
1 parent d510386 commit e984008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ingester/ingester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6804,7 +6804,7 @@ func TestIngester_inflightPushRequests(t *testing.T) {

startCh := make(chan struct{})

const targetRequestDuration = time.Second
const targetRequestDuration = 100 * time.Millisecond

g, ctx := errgroup.WithContext(ctx)
g.Go(func() error {
Expand Down Expand Up @@ -6906,7 +6906,7 @@ func TestIngester_inflightPushRequestsBytes(t *testing.T) {

startCh := make(chan int)

const targetRequestDuration = time.Second
const targetRequestDuration = 100 * time.Millisecond

g, ctx := errgroup.WithContext(ctx)
g.Go(func() error {
Expand Down

0 comments on commit e984008

Please sign in to comment.