Commit bd811b4a by ryan

dont test exists in the test... it will fail if not found

parent 24ead3a4
...@@ -11,8 +11,7 @@ import ( ...@@ -11,8 +11,7 @@ import (
func TestTestdataScenarios(t *testing.T) { func TestTestdataScenarios(t *testing.T) {
Convey("random walk ", t, func() { Convey("random walk ", t, func() {
scenario, exist := ScenarioRegistry["random_walk"] scenario, _ := ScenarioRegistry["random_walk"]
So(exist, ShouldBeTrue)
Convey("Should start at the requested value", func() { Convey("Should start at the requested value", func() {
req := &tsdb.TsdbQuery{ req := &tsdb.TsdbQuery{
...@@ -33,8 +32,7 @@ func TestTestdataScenarios(t *testing.T) { ...@@ -33,8 +32,7 @@ func TestTestdataScenarios(t *testing.T) {
}) })
Convey("random walk table", t, func() { Convey("random walk table", t, func() {
scenario, exist := ScenarioRegistry["random_walk_table"] scenario, _ := ScenarioRegistry["random_walk_table"]
So(exist, ShouldBeTrue)
Convey("Should return a table that looks like value/min/max", func() { Convey("Should return a table that looks like value/min/max", func() {
req := &tsdb.TsdbQuery{ req := &tsdb.TsdbQuery{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment