Fix performance test stats reporting

This commit is contained in:
Vladimir Dolzhenko
2020-06-02 21:44:22 +02:00
parent afd544cbab
commit f005091dfb
@@ -47,8 +47,8 @@ object TeamCity {
try { try {
block() block()
} finally { } finally {
statValue(name, durationMs ?: -1)
if (errorDetails != null) { if (errorDetails != null) {
statValue(name, -1)
testFailed(name, errorDetails) testFailed(name, errorDetails)
} else { } else {
testFinished(name, durationMs) testFinished(name, durationMs)