remote_runner: Improve readability of timeout duration

This commit is contained in:
Richard Hansen 2021-05-02 17:16:03 -04:00
parent c803ec81f1
commit 9059a55873

View file

@ -71,7 +71,7 @@ const sauceTestWorker = async.queue((testSettings, callback) => {
*/ */
const timeout = setTimeout(() => { const timeout = setTimeout(() => {
stopSauce(new Error('allowed test duration exceeded')); stopSauce(new Error('allowed test duration exceeded'));
}, 870000); // travis timeout is 15 minutes, set this to a slightly lower value }, 14.5 * 60 * 1000); // Slightly less than overall test timeout.
// how many characters of the log have been sent to travis // how many characters of the log have been sent to travis
let logIndex = 0; let logIndex = 0;