Query History: Enable query history test (#90597)
* Enable query history test * Fix time range in the test
This commit is contained in:
@@ -271,9 +271,8 @@ func TestIntegrationGetQueriesFromQueryHistory(t *testing.T) {
|
||||
|
||||
testScenarioWithMixedQueriesInQueryHistory(t, "When users tries to get queries with mixed data source it should return correct queries",
|
||||
func(t *testing.T, sc scenarioContext) {
|
||||
t.Skip() // This test fails a lot at the moment
|
||||
sc.reqContext.Req.Form.Add("to", strconv.FormatInt(sc.service.now().UnixMilli()-60, 10))
|
||||
sc.reqContext.Req.Form.Add("from", strconv.FormatInt(sc.service.now().UnixMilli()+60, 10))
|
||||
sc.reqContext.Req.Form.Add("to", strconv.FormatInt(sc.service.now().UnixMilli(), 10))
|
||||
sc.reqContext.Req.Form.Add("from", strconv.FormatInt(sc.service.now().UnixMilli()-60*1000, 10))
|
||||
sc.reqContext.Req.Form.Add("datasourceUid", testDsUID1)
|
||||
|
||||
resp := sc.service.searchHandler(sc.reqContext)
|
||||
|
||||
Reference in New Issue
Block a user