Skip to content

Commit

Permalink
tweak alerts test
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Dec 12, 2016
1 parent f67fa5a commit 6c74266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alerts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestFormatJoinedAlert(t *testing.T) {
&alertSet{
&mkr.Alert{ID: "2tZhm", Type: "expression", Status: "WARNING", MonitorID: "5rXR3", Value: 15.7, OpenedAt: 500},
nil,
&mkr.MonitorExpression{ID: "5rXR3", Type: "expression", Name: "Max loadavg5 monitor", Expression: "max(\n roleSlots(\n 'service:role',\n 'loadavg5'\n )\n)\n", Warning: 10.0, Critical: 20.0, Operator: ">"},
&mkr.MonitorExpression{ID: "5rXR3", Type: "expression", Name: "Max loadavg5 monitor", Expression: "max( \n roleSlots( \n 'service:role',\n 'loadavg5'\n )\n)\n", Warning: 10.0, Critical: 20.0, Operator: ">"},
},
"2tZhm 1970-01-01 00:08:20 WARNING Max loadavg5 monitor max(roleSlots('service:role', 'loadavg5')) 15.70 > 10.00",
},
Expand Down

0 comments on commit 6c74266

Please sign in to comment.