Skip to content

Commit

Permalink
ongoing work
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdurham committed Oct 18, 2024
1 parent 09fc733 commit 8c33f02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/component/prometheus/write/queue/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func TestE2E(t *testing.T) {

const (
iterations = 10
items = 10_000
items = 100
)

func runTest(t *testing.T, add func(index int, appendable storage.Appender) (float64, labels.Labels), test func(samples *safeSlice[prompb.TimeSeries]), metaTest func(meta *safeSlice[prompb.MetricMetadata])) {
Expand Down Expand Up @@ -356,7 +356,7 @@ func newComponent(t *testing.T, l *logging.Logger, url string, exp chan Exports,
}, Arguments{
TTL: 2 * time.Hour,
Persistence: Persistence{
MaxSignalsToBatch: 10_000,
MaxSignalsToBatch: 10,
BatchInterval: 1 * time.Second,
},
Endpoints: []EndpointConfig{{
Expand All @@ -365,7 +365,7 @@ func newComponent(t *testing.T, l *logging.Logger, url string, exp chan Exports,
Timeout: 20 * time.Second,
RetryBackoff: 5 * time.Second,
MaxRetryAttempts: 1,
BatchCount: 50,
BatchCount: 5,
FlushInterval: 1 * time.Second,
Parallelism: 1,
}},
Expand Down

0 comments on commit 8c33f02

Please sign in to comment.