Skip to content

Commit fa7d218

Browse files
committed
Stability > Speed
1 parent 95be344 commit fa7d218

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

test/karma.conf.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = (config) => {
55

66
config.set({
77
basePath: path.join(__dirname, '..'),
8-
frameworks: ['parallel', 'jasmine'],
8+
frameworks: ['jasmine'],
99
plugins: [
1010
require('karma-jasmine'),
1111
require('karma-browserstack-launcher'),
@@ -92,12 +92,6 @@ module.exports = (config) => {
9292
captureTimeout: 180000,
9393
browsers: ['ChromeHeadlessLocal'],
9494

95-
// If tests run locally we don't want to use all available threads because otherwise
96-
// the computer becomes slow and it might be hard to do things in meanwhile.
97-
parallelOptions: {
98-
executors: 2
99-
},
100-
10195
singleRun: false,
10296

10397
browserConsoleLogOptions: {
@@ -110,7 +104,7 @@ module.exports = (config) => {
110104
// TODO(jelbourn): re-enable random test order once we can de-flake existing issues.
111105
random: false
112106
}
113-
}
107+
},
114108
});
115109

116110
if (process.env['TRAVIS']) {
@@ -141,7 +135,7 @@ module.exports = (config) => {
141135
throw new Error(`Platform "${platform}" unknown, but Travis specified. Exiting.`);
142136
}
143137

144-
config.parallelOptions = {executors: 4};
138+
config.concurrency = 1;
145139
config.browsers = platformMap[platform][target.toLowerCase()];
146140
}
147141
};

0 commit comments

Comments
 (0)