aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main/src/test/java/org/sonar/application/ProcessLauncherImplTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-main/src/test/java/org/sonar/application/ProcessLauncherImplTest.java')
-rw-r--r--server/sonar-main/src/test/java/org/sonar/application/ProcessLauncherImplTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-main/src/test/java/org/sonar/application/ProcessLauncherImplTest.java b/server/sonar-main/src/test/java/org/sonar/application/ProcessLauncherImplTest.java
index 30360924a9a..9612aff58d5 100644
--- a/server/sonar-main/src/test/java/org/sonar/application/ProcessLauncherImplTest.java
+++ b/server/sonar-main/src/test/java/org/sonar/application/ProcessLauncherImplTest.java
@@ -200,8 +200,7 @@ public class ProcessLauncherImplTest {
.setEsJvmOptions(mock(EsJvmOptions.class))
.setLog4j2Properties(new Properties())
.setHost("localhost")
- .setPort(9001)
- .setClusterName("sonarqube"));
+ .setHttpPort(9001));
return command;
}
@@ -212,8 +211,7 @@ public class ProcessLauncherImplTest {
.set("sonar.path.data", this.temp.newFolder("data").getAbsolutePath())
.set("sonar.path.temp", tempFolder.getAbsolutePath())
.set("sonar.path.logs", this.temp.newFolder("logs").getAbsolutePath()))
- .setClusterName("cluster")
- .setPort(9001)
+ .setHttpPort(9001)
.setHost("localhost")
.setEsYmlSettings(new EsYmlSettings(new HashMap<>()))
.setEsJvmOptions(new EsJvmOptions(new Props(new Properties()), tempFolder))