Fix performance test stats reporting
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user