We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966c00e commit b70fb78Copy full SHA for b70fb78
karma.conf.js
@@ -148,6 +148,13 @@ function configureSauceLabs(config) {
148
149
config.reporters.push('saucelabs');
150
config.browsers = Object.keys(config.customLaunchers);
151
+
152
+ // Sauce Connect sometimes hangs (https://github.com/karma-runner/karma-sauce-launcher/issues/14)
153
+ // So terminate the process after a few minutes
154
+ setTimeout(function() {
155
+ console.warn('\nWARNING: Sauce Connect appears to have hung. Forcefully terminating.\n');
156
+ process.exit();
157
+ }, 1000 * 60 * 8); // 8 minutes
158
}
159
160
0 commit comments