Skip to content

Commit

Permalink
fix: Gatling should be launched by default with DEFAULT_JVM_OPTIONS_G…
Browse files Browse the repository at this point in the history
…ATLING
  • Loading branch information
slandelle committed May 27, 2024
1 parent c491ef9 commit a0d0fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/gatling/mojo/GatlingMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ private void copyJUnitReports() throws MojoExecutionException {

private List<String> gatlingJvmArgs() {
if (jvmArgs.isEmpty()) {
return GatlingConstants.DEFAULT_JVM_OPTIONS_BASE;
return GatlingConstants.DEFAULT_JVM_OPTIONS_GATLING;
}
if (overrideJvmArgs) {
List<String> merged = new ArrayList<>(jvmArgs);
merged.addAll(GatlingConstants.DEFAULT_JVM_OPTIONS_BASE);
merged.addAll(GatlingConstants.DEFAULT_JVM_OPTIONS_GATLING);
return merged;
}
return Collections.unmodifiableList(jvmArgs);
Expand Down

0 comments on commit a0d0fe5

Please sign in to comment.