mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
Use variable in newPostgresMacroEngine
This commit is contained in:
parent
3955133f7e
commit
837388d13e
@ -12,8 +12,10 @@ import (
|
||||
|
||||
func TestMacroEngine(t *testing.T) {
|
||||
Convey("MacroEngine", t, func() {
|
||||
engine := newPostgresMacroEngine(false)
|
||||
engineTS := newPostgresMacroEngine(true)
|
||||
timescaledbEnabled := false
|
||||
engine := newPostgresMacroEngine(timescaledbEnabled)
|
||||
timescaledbEnabled = true
|
||||
engineTS := newPostgresMacroEngine(timescaledbEnabled)
|
||||
query := &tsdb.Query{}
|
||||
|
||||
Convey("Given a time range between 2018-04-12 00:00 and 2018-04-12 00:05", func() {
|
||||
|
Loading…
Reference in New Issue
Block a user