chore(flaky): save build result (#4819)

This commit is contained in:
Andrey Lushnikov
2019-08-08 20:53:12 -07:00
committed by GitHub
parent 608b15f20d
commit 763e3901d9
2 changed files with 10 additions and 1 deletions

View File

@@ -215,7 +215,10 @@ const utils = module.exports = {
result: test.result,
});
});
testRunner.on('finished', () => dashboard.uploadAndCleanup());
testRunner.on('finished', async({result}) => {
dashboard.setBuildResult(result);
await dashboard.uploadAndCleanup();
});
function generateTestIDs(testRunner) {
const testIds = new Map();