Skip to content

Commit

Permalink
Fixing backward compat test
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
  • Loading branch information
pedro-stanaka committed Jan 2, 2024
1 parent 7ef4f78 commit 3ffb9fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/e2ethanos/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ func NewQuerierBuilder(e e2e.Environment, name string, storeAddresses ...string)
storeAddresses: storeAddresses,
image: DefaultImage(),
replicaLabels: []string{replicaLabel},
engine: apiv1.PromqlEnginePrometheus,
}
}

Expand Down Expand Up @@ -418,7 +417,6 @@ func (q *QuerierBuilder) collectArgs() ([]string, error) {
"--log.level": infoLogLevel,
"--query.max-concurrent": "1",
"--store.sd-interval": "5s",
"--query.promql-engine": string(q.engine),
})

for _, repl := range q.replicaLabels {
Expand Down Expand Up @@ -496,6 +494,9 @@ func (q *QuerierBuilder) collectArgs() ([]string, error) {
if q.enableXFunctions {
args = append(args, "--query.enable-x-functions")
}
if q.engine != "" {
args = append(args, "--query.engine="+string(q.engine))
}

return args, nil
}
Expand Down

0 comments on commit 3ffb9fc

Please sign in to comment.