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
61bb9cbc
Commit
61bb9cbc
authored
Nov 18, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test(alerting): fixes broken unit test
parent
a3b0fbca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pkg/services/alerting/eval_handler_test.go
+2
-2
No files found.
pkg/services/alerting/eval_handler_test.go
View file @
61bb9cbc
...
@@ -36,8 +36,8 @@ func TestAlertingExecutor(t *testing.T) {
...
@@ -36,8 +36,8 @@ func TestAlertingExecutor(t *testing.T) {
Convey
(
"Show return false with not passing asdf"
,
func
()
{
Convey
(
"Show return false with not passing asdf"
,
func
()
{
context
:=
NewEvalContext
(
context
.
TODO
(),
&
Rule
{
context
:=
NewEvalContext
(
context
.
TODO
(),
&
Rule
{
Conditions
:
[]
Condition
{
Conditions
:
[]
Condition
{
&
conditionStub
{
firing
:
true
,
matches
:
[]
*
EvalMatch
{
&
EvalMatch
{},
&
EvalMatch
{}}},
&
conditionStub
{
firing
:
true
,
operator
:
"and"
,
matches
:
[]
*
EvalMatch
{
&
EvalMatch
{},
&
EvalMatch
{}}},
&
conditionStub
{
firing
:
false
},
&
conditionStub
{
firing
:
false
,
operator
:
"and"
},
},
},
})
})
...
...
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