diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-08-03 15:49:58 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-08-03 17:59:20 +0200 |
commit | 0eb6b4d13152acdb8d2638c6403342fd2d056c09 (patch) | |
tree | 4b968a44820d46646bfdce194ed2a876895a8434 /server/sonar-server | |
parent | d033213dad868cafabf6b8a63c17cf8c4f20c753 (diff) | |
download | sonarqube-0eb6b4d13152acdb8d2638c6403342fd2d056c09.tar.gz sonarqube-0eb6b4d13152acdb8d2638c6403342fd2d056c09.zip |
SONAR-7908 rename property sonar.cluster.web.startupLeader
was sonar.cluster.startupLeader
Diffstat (limited to 'server/sonar-server')
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/platform/cluster/ClusterProperties.java b/server/sonar-server/src/main/java/org/sonar/server/platform/cluster/ClusterProperties.java index fe08773dd37..24afe9697e7 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/platform/cluster/ClusterProperties.java +++ b/server/sonar-server/src/main/java/org/sonar/server/platform/cluster/ClusterProperties.java @@ -27,7 +27,7 @@ import org.sonar.api.config.PropertyDefinition; public class ClusterProperties { public static final String ENABLED = "sonar.cluster.enabled"; - public static final String STARTUP_LEADER = "sonar.cluster.startupLeader"; + public static final String STARTUP_LEADER = "sonar.cluster.web.startupLeader"; private ClusterProperties() { // only statics diff --git a/server/sonar-server/src/test/java/org/sonar/server/platform/cluster/ClusterImplTest.java b/server/sonar-server/src/test/java/org/sonar/server/platform/cluster/ClusterImplTest.java index a0378c3a452..e2f086eceb5 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/platform/cluster/ClusterImplTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/platform/cluster/ClusterImplTest.java @@ -45,7 +45,7 @@ public class ClusterImplTest { @Test public void node_is_startup_leader_in_cluster() { settings.setProperty("sonar.cluster.enabled", "true"); - settings.setProperty("sonar.cluster.startupLeader", "true"); + settings.setProperty("sonar.cluster.web.startupLeader", "true"); ClusterImpl underTest = new ClusterImpl(settings); @@ -66,7 +66,7 @@ public class ClusterImplTest { @Test public void node_is_startup_follower_in_cluster() { settings.setProperty("sonar.cluster.enabled", "true"); - settings.setProperty("sonar.cluster.startupLeader", "false"); + settings.setProperty("sonar.cluster.web.startupLeader", "false"); ClusterImpl underTest = new ClusterImpl(settings); |