mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 19:34:27 +08:00
fix test
This commit is contained in:
@ -85,7 +85,7 @@ func TestMacroEngine(t *testing.T) {
|
|||||||
So(sql, ShouldEqual, "select 18446744066914187038")
|
So(sql, ShouldEqual, "select 18446744066914187038")
|
||||||
})
|
})
|
||||||
|
|
||||||
timeRange := &tsdb.TimeRange{From: "-315622800000", To: "315529200000"} // 1960-1980
|
timeRange = &tsdb.TimeRange{From: "-315622800000", To: "315529200000"} // 1960-1980
|
||||||
Convey("interpolate __timeFilter function before epoch", func() {
|
Convey("interpolate __timeFilter function before epoch", func() {
|
||||||
sql, err := engine.Interpolate(query, timeRange, "WHERE $__timeFilter(time_column)")
|
sql, err := engine.Interpolate(query, timeRange, "WHERE $__timeFilter(time_column)")
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
Reference in New Issue
Block a user