Skip to content

Commit 85e0f06

Browse files
authored
Merge pull request #159 from atom-ide-community/timed-out-tests-more
2 parents d72a8ee + 0599fbd commit 85e0f06

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

script/test

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function spawnTest(executablePath, testArguments, options, callback, testName, f
116116

117117
}
118118

119-
const retryNumber = 4 // the number of times a tests repeats
119+
const retryNumber = 6 // the number of times a tests repeats
120120
const retriedTests = new Map() // a cache of retried tests
121121

122122
// Retries the tests if it is timed out for a number of times. Fails the rest of the tests or those that are tried enough times.
@@ -148,7 +148,10 @@ function createTestKey(executablePath, testArguments, testName) {
148148
// check if a test is timed out
149149
function isTimedOut(stderrOutput) {
150150
if (stderrOutput) {
151-
return ( stderrOutput.includes("timeout: timed out after") )
151+
return (
152+
stderrOutput.includes("timeout: timed out after") ||
153+
stderrOutput.includes("Error Downloading Update: Could not get code signature for running application")
154+
)
152155
} else {
153156
return false
154157
}

0 commit comments

Comments
 (0)