Skip to content

Commit 127b1e7

Browse files
committed
Restore karma.conf.js Chrome flags and disconnect settings from green builds
Restore --disable-gpu, --js-flags=--max-old-space-size=4096 in ChromeHeadlessCI, and browserDisconnectTimeout/Tolerance settings that were present in the green builds. These were accidentally removed during code coverage debugging.
1 parent 9b36d1c commit 127b1e7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

karma.conf.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ module.exports = function (config) {
3838
customLaunchers: {
3939
ChromeHeadlessCI: {
4040
base: 'ChromeHeadless',
41-
flags: ['--no-sandbox'],
41+
flags: ['--no-sandbox', '--disable-gpu', '--js-flags=--max-old-space-size=4096'],
4242
},
4343
},
44-
// DataShare fork: CI needs more time for code coverage data collection (5000+ tests)
45-
browserNoActivityTimeout: 600000,
44+
browserDisconnectTimeout: 60000,
45+
browserDisconnectTolerance: 3,
46+
browserNoActivityTimeout: 120000,
4647
singleRun: false,
4748
restartOnFileChange: true
4849
});

0 commit comments

Comments
 (0)