feat(alerting): fixed test issues

This commit is contained in:
Torkel Ödegaard
2016-06-07 14:27:56 +02:00
parent 461e6ae4ac
commit 8105ec4660
4 changed files with 3 additions and 5 deletions
-1
View File
@@ -89,7 +89,6 @@ func (e *Engine) executeJob(job *AlertJob) {
AlertJob: job,
}
e.log.Debug("Job Execution timeout", "alertRuleId", job.Rule.Id)
case result := <-resultChan:
result.Duration = float64(time.Since(now).Nanoseconds()) / float64(1000000)
e.log.Debug("Job Execution done", "timeTakenMs", result.Duration, "ruleId", job.Rule.Id)