app/vmselect/promql: fix tests after 2dae0a2c47

This commit is contained in:
Aliaksandr Valialkin 2021-03-15 20:18:22 +02:00
parent dc70e7de76
commit 8844b38745

View file

@ -67,10 +67,11 @@ func TestExecSuccess(t *testing.T) {
AccountID: accountID, AccountID: accountID,
ProjectID: projectID, ProjectID: projectID,
}, },
Start: start, Start: start,
End: end, End: end,
Step: step, Step: step,
Deadline: searchutils.NewDeadline(time.Now(), time.Minute, ""), Deadline: searchutils.NewDeadline(time.Now(), time.Minute, ""),
RoundDigits: 100,
} }
for i := 0; i < 5; i++ { for i := 0; i < 5; i++ {
result, err := Exec(ec, q, false) result, err := Exec(ec, q, false)
@ -6589,10 +6590,11 @@ func TestExecError(t *testing.T) {
AccountID: 123, AccountID: 123,
ProjectID: 567, ProjectID: 567,
}, },
Start: 1000, Start: 1000,
End: 2000, End: 2000,
Step: 100, Step: 100,
Deadline: searchutils.NewDeadline(time.Now(), time.Minute, ""), Deadline: searchutils.NewDeadline(time.Now(), time.Minute, ""),
RoundDigits: 100,
} }
for i := 0; i < 4; i++ { for i := 0; i < 4; i++ {
rv, err := Exec(ec, q, false) rv, err := Exec(ec, q, false)