diff --git a/pkg/services/queryhistory/queryhistory_search_test.go b/pkg/services/queryhistory/queryhistory_search_test.go index e81a216466f..18e1bcc9e7f 100644 --- a/pkg/services/queryhistory/queryhistory_search_test.go +++ b/pkg/services/queryhistory/queryhistory_search_test.go @@ -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)