Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
bd811b4a
Commit
bd811b4a
authored
Mar 15, 2019
by
ryan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont test exists in the test... it will fail if not found
parent
24ead3a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
pkg/tsdb/testdata/scenarios_test.go
+2
-4
No files found.
pkg/tsdb/testdata/scenarios_test.go
View file @
bd811b4a
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment