mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-22 22:28:51 +01:00
Fix datadog tags to be passed as key/values
This commit is contained in:
parent
2154d9e707
commit
e5864c9a16
@ -208,13 +208,13 @@ func runTestsWithExtraRetries(parentT *testing.T, testName string, testFunc func
|
||||
})
|
||||
if rt.succeeded {
|
||||
if GLOBAL_STATSD != nil {
|
||||
GLOBAL_STATSD.Incr("test_status", []string{"passed", testName}, 1.0)
|
||||
GLOBAL_STATSD.Distribution("test_retry_count", float64(i), []string{testName}, 1.0)
|
||||
GLOBAL_STATSD.Incr("test_status", []string{"result:passed", "test:" + testName}, 1.0)
|
||||
GLOBAL_STATSD.Distribution("test_retry_count", float64(i), []string{"test:" + testName}, 1.0)
|
||||
}
|
||||
break
|
||||
} else {
|
||||
if GLOBAL_STATSD != nil {
|
||||
GLOBAL_STATSD.Incr("test_status", []string{"failed", testName}, 1.0)
|
||||
GLOBAL_STATSD.Incr("test_status", []string{"result:failed", "test:" + testName}, 1.0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user