mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dont test exists in the test... it will fail if not found
This commit is contained in:
parent
24ead3a4a4
commit
bd811b4a95
6
pkg/tsdb/testdata/scenarios_test.go
vendored
6
pkg/tsdb/testdata/scenarios_test.go
vendored
@ -11,8 +11,7 @@ import (
|
||||
|
||||
func TestTestdataScenarios(t *testing.T) {
|
||||
Convey("random walk ", t, func() {
|
||||
scenario, exist := ScenarioRegistry["random_walk"]
|
||||
So(exist, ShouldBeTrue)
|
||||
scenario, _ := ScenarioRegistry["random_walk"]
|
||||
|
||||
Convey("Should start at the requested value", func() {
|
||||
req := &tsdb.TsdbQuery{
|
||||
@ -33,8 +32,7 @@ func TestTestdataScenarios(t *testing.T) {
|
||||
})
|
||||
|
||||
Convey("random walk table", t, func() {
|
||||
scenario, exist := ScenarioRegistry["random_walk_table"]
|
||||
So(exist, ShouldBeTrue)
|
||||
scenario, _ := ScenarioRegistry["random_walk_table"]
|
||||
|
||||
Convey("Should return a table that looks like value/min/max", func() {
|
||||
req := &tsdb.TsdbQuery{
|
||||
|
Loading…
Reference in New Issue
Block a user