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 68028d2 commit fb6616cCopy full SHA for fb6616c
karate-core/src/main/java/com/intuit/karate/Runner.java
@@ -95,7 +95,7 @@ public static class Builder<T extends Builder> {
95
File workingDir;
96
String buildDir;
97
String configDir;
98
- int threadCount;
+ int threadCount = 1;
99
int timeoutMinutes;
100
String reportDir;
101
String scenarioName;
@@ -181,6 +181,9 @@ public List<FeatureCall> resolveAll() {
181
if (ko.paths != null) {
182
paths = ko.paths;
183
}
184
+ if (ko.threads != threadCount) { // 1 by default
185
+ threadCount = ko.threads;
186
+ }
187
dryRun = ko.dryRun || dryRun;
188
189
String tempEnv = StringUtils.trimToNull(systemProperties.get(Constants.KARATE_ENV));
0 commit comments