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
6407ec41
Unverified
Commit
6407ec41
authored
Oct 03, 2018
by
Marcus Efraimsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mssql: fix tests
parent
e303468c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pkg/tsdb/mssql/mssql_test.go
+4
-0
No files found.
pkg/tsdb/mssql/mssql_test.go
View file @
6407ec41
...
...
@@ -743,9 +743,11 @@ func TestMSSQL(t *testing.T) {
So
(
err
,
ShouldBeNil
)
Convey
(
"When doing a metric query using stored procedure should return correct result"
,
func
()
{
tsdb
.
Interpolate
=
origInterpolate
query
:=
&
tsdb
.
TsdbQuery
{
Queries
:
[]
*
tsdb
.
Query
{
{
DataSource
:
&
models
.
DataSource
{
JsonData
:
simplejson
.
New
()},
Model
:
simplejson
.
NewFromAny
(
map
[
string
]
interface
{}{
"rawSql"
:
`DECLARE
@from int = $__unixEpochFrom(),
...
...
@@ -820,9 +822,11 @@ func TestMSSQL(t *testing.T) {
So
(
err
,
ShouldBeNil
)
Convey
(
"When doing a metric query using stored procedure should return correct result"
,
func
()
{
tsdb
.
Interpolate
=
origInterpolate
query
:=
&
tsdb
.
TsdbQuery
{
Queries
:
[]
*
tsdb
.
Query
{
{
DataSource
:
&
models
.
DataSource
{
JsonData
:
simplejson
.
New
()},
Model
:
simplejson
.
NewFromAny
(
map
[
string
]
interface
{}{
"rawSql"
:
`DECLARE
@from int = $__unixEpochFrom(),
...
...
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