Skip to content

Commit

Permalink
use e2ethanos.DefaultPrometheusImage on the e2emon service
Browse files Browse the repository at this point in the history
Signed-off-by: alanprot <alanprot@gmail.com>
  • Loading branch information
alanprot committed Jun 10, 2024
1 parent c8cf689 commit 2fe6d8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/interactive/interactive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func TestReadOnlyThanosSetup(t *testing.T) {
p, err := e2eprof.Start(e)
testutil.Ok(t, err)

m, err := e2emon.Start(e)
m, err := e2emon.Start(e, e2emon.WithPrometheusImage(e2ethanos.DefaultPrometheusImage()))
testutil.Ok(t, err)

// Initialize object storage with two buckets (our long term storage).
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ func TestQueryStoreMetrics(t *testing.T) {
testutil.Ok(t, err)
}

mon, err := e2emon.Start(e)
mon, err := e2emon.Start(e, e2emon.WithPrometheusImage(e2ethanos.DefaultPrometheusImage()))
testutil.Ok(t, err)

queryWaitAndAssert(t, ctx, mon.GetMonitoringRunnable().Endpoint(e2edb.AccessPortName), func() string {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/receive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ test_metric{a="2", b="2"} 1`)
t.Cleanup(e2ethanos.CleanScenario(t, e))

// This can be treated as the meta-monitoring service.
meta, err := e2emon.Start(e)
meta, err := e2emon.Start(e, e2emon.WithPrometheusImage(e2ethanos.DefaultPrometheusImage()))
testutil.Ok(t, err)

// Setup 3 RouterIngestors with a limit of 10 active series.
Expand Down

0 comments on commit 2fe6d8a

Please sign in to comment.