Change promql test to allow overriding storage layer

This commit is contained in:
Thomas Jackson 2018-04-17 08:45:02 -07:00 committed by Rishabh Kumar
parent 51866b9fee
commit 7189dc21c8

View file

@ -185,6 +185,11 @@ func newTest(t testutil.T, input string) (*test, error) {
return test, err
}
// SetStorage sets test's storage
func (t *test) SetStorage(s storage.Storage) {
t.storage = s
}
//go:embed testdata
var testsFs embed.FS