mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-16 09:34:57 +00:00
ci(e2e): Changed UNSTABLE state to be considered as a failure
UNSTABLE state means some tests have failed during the retries but also in the last retry so, it contemplates real failures too.
This commit is contained in:
parent
a62e5cc223
commit
37c88cbaac
@ -143,8 +143,7 @@ pipeline {
|
||||
testSuite: "${WORKSPACE}/test/ui-test/testSuites/*",
|
||||
])
|
||||
print("Squish run result: ${result}")
|
||||
/* Ignore UNSTABLE caused by retried tests. */
|
||||
if (!['SUCCESS', 'UNSTABLE'].contains(result)) {
|
||||
if (!['SUCCESS'].contains(result)) {
|
||||
throw new Exception('Squish run failed!')
|
||||
}
|
||||
} }
|
||||
|
Loading…
x
Reference in New Issue
Block a user