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 {
block()
} finally {
statValue(name, durationMs ?: -1)
if (errorDetails != null) {
statValue(name, -1)
testFailed(name, errorDetails)
} else {
testFinished(name, durationMs)