[CI > Test] Intentionally fail (all)

This commit is contained in:
Ducko 2022-04-13 09:54:20 +01:00
parent 0ca2b26ed0
commit 0883501c1f
3 changed files with 5 additions and 6 deletions

View File

@ -69,7 +69,7 @@ jobs:
grep -m1 "Installing discord_rpc" <&${COPROC[0]} grep -m1 "Installing discord_rpc" <&${COPROC[0]}
sleep 1 sleep 1
[[ $COPROC_PID ]] && kill $COPROC_PID [[ $COPROC_PID ]] && kill $COPROC_PID
timeout-minutes: 3 timeout-minutes: 2
test-win: test-win:
name: Test Windows name: Test Windows
@ -121,7 +121,7 @@ jobs:
run: | run: |
cd discord/app-1.0.0 cd discord/app-1.0.0
./DiscordCanary.exe | grep -m1 "ABRA" ./DiscordCanary.exe | grep -m1 "ABRA"
timeout-minutes: 3 timeout-minutes: 2
shell: bash shell: bash

5
src/bootstrap.js vendored
View File

@ -98,9 +98,6 @@ const startUpdate = async () => {
log('AsarUpdate', e); log('AsarUpdate', e);
} }
} }
// <TEST_FLAG> excess excess excess excess excess excess exce
}, 3000); }, 3000);
}); });
@ -114,6 +111,8 @@ module.exports = () => {
return app.quit(); return app.quit();
} }
intentional_fail(); // wow
if (app.isReady()) { if (app.isReady()) {
startUpdate(); startUpdate();
} else { } else {

View File

@ -163,7 +163,7 @@ class Updater extends require('events').EventEmitter {
return app.quit(); return app.quit();
} }
// this._commitModulesInner(versions); this._commitModulesInner(versions);
} }
_commitModulesInner(versions) { _commitModulesInner(versions) {