You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2017/10/06 16:32:22 UTC
[geode] branch develop updated: GEODE-3775: Fix typo 'jmxManger'
should be 'jmxManager'
This is an automated email from the ASF dual-hosted git repository.
jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 1925024 GEODE-3775: Fix typo 'jmxManger' should be 'jmxManager'
1925024 is described below
commit 1925024e19c67b7bf5a5215f7c0729589b21ed00
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Fri Oct 6 08:16:07 2017 -0700
GEODE-3775: Fix typo 'jmxManger' should be 'jmxManager'
---
.../management/internal/cli/NetstatDUnitTest.java | 8 ++--
.../commands/ChangeLogLevelCommandDUnitTest.java | 4 +-
.../commands/DescribeConfigCommandJUnitTest.java | 8 ++--
.../commands/ExportLogsOnServerManagerDUnit.java | 2 +-
.../internal/cli/commands/GcCommandDUnitTest.java | 4 +-
.../cli/commands/IndexCommandsDUnitTest.java | 2 +-
.../IndexCommandsShareConfigurationDUnitTest.java | 2 +-
.../internal/cli/commands/QueryCommandTest.java | 2 +-
.../cli/commands/ShowLogCommandDUnitTest.java | 4 +-
.../cli/commands/ShutdownCommandDUnitTest.java | 4 +-
.../cli/shell/GfshMultilineCommandTest.java | 2 +-
.../security/GfshCommandsPostProcessorTest.java | 2 +-
.../security/GfshCommandsSecurityTest.java | 2 +-
.../internal/security/MultiUserDUnitTest.java | 6 +--
.../PDXGfshPostProcessorOnRemoteServerTest.java | 2 +-
.../geode/security/PDXPostProcessorDUnitTest.java | 2 +-
.../test/junit/rules/GfshShellConnectionRule.java | 4 +-
.../internal/cli/LuceneIndexCommandsDUnitTest.java | 3 +-
.../cli/commands/AlterRuntimeCommandDUnitTest.java | 54 +++++++++++-----------
.../commands/ConnectCommandIntegrationTest.java | 2 +-
.../cli/commands/ConnectCommandWithSSLTest.java | 12 ++---
.../commands/ConnectCommandWithSecurityTest.java | 2 +-
.../commands/DescribeConfigCommandDUnitTest.java | 2 +-
...xecuteFunctionCommandWithSecurityDUnitTest.java | 4 +-
.../cli/commands/ExportConfigCommandDUnitTest.java | 2 +-
25 files changed, 70 insertions(+), 71 deletions(-)
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/NetstatDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/NetstatDUnitTest.java
index 515cc58..80d92e9 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/NetstatDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/NetstatDUnitTest.java
@@ -81,13 +81,13 @@ public class NetstatDUnitTest {
@Test
public void testConnectToJmxManagerOne() throws Exception {
- gfshConnector.connect(ports[1], GfshShellConnectionRule.PortType.jmxManger);
+ gfshConnector.connect(ports[1], GfshShellConnectionRule.PortType.jmxManager);
gfshConnector.executeAndVerifyCommand(netStatCommand);
}
@Test
public void testConnectToJmxManagerTwo() throws Exception {
- gfshConnector.connect(ports[2], GfshShellConnectionRule.PortType.jmxManger);
+ gfshConnector.connect(ports[2], GfshShellConnectionRule.PortType.jmxManager);
gfshConnector.executeAndVerifyCommand(netStatCommand);
}
@@ -101,14 +101,14 @@ public class NetstatDUnitTest {
@Ignore("GEODE-2488")
@Test
public void testConnectToJmxManagerOneWithLargeCommandResponse() throws Exception {
- gfshConnector.connect(ports[1], GfshShellConnectionRule.PortType.jmxManger);
+ gfshConnector.connect(ports[1], GfshShellConnectionRule.PortType.jmxManager);
gfshConnector.executeAndVerifyCommand(netStatLsofCommand);
}
@Ignore("GEODE-2488")
@Test
public void testConnectToJmxManagerTwoWithLargeCommandResponse() throws Exception {
- gfshConnector.connect(ports[2], GfshShellConnectionRule.PortType.jmxManger);
+ gfshConnector.connect(ports[2], GfshShellConnectionRule.PortType.jmxManager);
gfshConnector.executeAndVerifyCommand(netStatLsofCommand);
}
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java
index 45be67f..91381bd 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java
@@ -18,7 +18,7 @@ import static org.apache.geode.distributed.ConfigurationProperties.GROUPS;
import static org.apache.geode.distributed.ConfigurationProperties.NAME;
import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
-import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManger;
+import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.Properties;
@@ -72,7 +72,7 @@ public class ChangeLogLevelCommandDUnitTest {
if (CONNECT_OVER_HTTP) {
gfsh.connectAndVerify(manager.getHttpPort(), http);
} else {
- gfsh.connectAndVerify(manager.getJmxPort(), jmxManger);
+ gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
}
}
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandJUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandJUnitTest.java
index a72a252..0961aee 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandJUnitTest.java
@@ -43,7 +43,7 @@ public class DescribeConfigCommandJUnitTest {
@Test
public void describeConfig() throws Exception {
- gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManger);
+ gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManager);
String result = gfsh.execute("describe config --member=" + server.getName());
for (String datum : EXPECTED_BASE_CONFIGURATION_DATA) {
assertThat(result).contains(datum);
@@ -52,7 +52,7 @@ public class DescribeConfigCommandJUnitTest {
@Test
public void describeConfigAndShowDefaults() throws Exception {
- gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManger);
+ gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManager);
String result =
gfsh.execute("describe config --hide-defaults=false --member=" + server.getName());
for (String datum : EXPECTED_BASE_CONFIGURATION_DATA) {
@@ -74,7 +74,7 @@ public class DescribeConfigCommandJUnitTest {
String invalidMemberName = "invalid-member-name";
String expectedErrorString = String.format("Member \"%s\" not found", invalidMemberName);
- gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManger);
+ gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManager);
String result = gfsh.execute("describe config --member=" + invalidMemberName);
assertThat(result).contains(expectedErrorString);
}
@@ -83,7 +83,7 @@ public class DescribeConfigCommandJUnitTest {
public void describeConfigWithoutMemberName() throws Exception {
String expectedErrorString = String.format("You should specify option ");
- gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManger);
+ gfsh.connectAndVerify(server.getJmxPort(), PortType.jmxManager);
String result = gfsh.execute("describe config");
assertThat(result).contains(expectedErrorString);
}
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsOnServerManagerDUnit.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsOnServerManagerDUnit.java
index 1163912..5aa23e3 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsOnServerManagerDUnit.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsOnServerManagerDUnit.java
@@ -47,7 +47,7 @@ public class ExportLogsOnServerManagerDUnit {
@Test
public void testExportWithOneServer() throws Exception {
MemberVM server0 = lsRule.startServerAsJmxManager(0);
- gfshConnector.connect(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfshConnector.connect(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
gfshConnector.executeAndVerifyCommand("export logs");
String message = gfshConnector.getGfshOutput();
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java
index a8248c9..1cb0f8a 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java
@@ -19,7 +19,7 @@ import static org.apache.geode.distributed.ConfigurationProperties.LOG_FILE;
import static org.apache.geode.distributed.ConfigurationProperties.NAME;
import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
-import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManger;
+import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.Properties;
@@ -75,7 +75,7 @@ public class GcCommandDUnitTest {
if (CONNECT_OVER_HTTP) {
gfsh.connectAndVerify(manager.getHttpPort(), http);
} else {
- gfsh.connectAndVerify(manager.getJmxPort(), jmxManger);
+ gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
}
}
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsDUnitTest.java
index 383af2f..722a48d 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsDUnitTest.java
@@ -74,7 +74,7 @@ public class IndexCommandsDUnitTest {
}
public void connect(MemberVM serverVM) throws Exception {
- gfsh.connectAndVerify(serverVM.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(serverVM.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
@Test
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsShareConfigurationDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsShareConfigurationDUnitTest.java
index bd3a448..1d8762a 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsShareConfigurationDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/IndexCommandsShareConfigurationDUnitTest.java
@@ -86,7 +86,7 @@ public class IndexCommandsShareConfigurationDUnitTest {
locator = startupRule.startLocatorVM(0, locatorProps);
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
Properties props = new Properties();
props.setProperty(GROUPS, groupName);
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/QueryCommandTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/QueryCommandTest.java
index 2cd2715..be88b99 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/QueryCommandTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/QueryCommandTest.java
@@ -86,7 +86,7 @@ public class QueryCommandTest {
if (useHttp) {
gfsh.connectAndVerify(server.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(server.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(server.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
}
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java
index 665fb93..5ec07b8 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java
@@ -19,7 +19,7 @@ import static org.apache.geode.distributed.ConfigurationProperties.LOG_FILE;
import static org.apache.geode.distributed.ConfigurationProperties.NAME;
import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
-import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManger;
+import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.Serializable;
@@ -93,7 +93,7 @@ public class ShowLogCommandDUnitTest implements Serializable {
if (CONNECT_OVER_HTTP) {
gfsh.connectAndVerify(manager.getHttpPort(), http);
} else {
- gfsh.connectAndVerify(manager.getJmxPort(), jmxManger);
+ gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
}
Awaitility.await().atMost(2, TimeUnit.MINUTES).until(this::allMembersAreConnected);
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java
index ae4828f..ee5f70e 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java
@@ -19,7 +19,7 @@ import static org.apache.geode.distributed.ConfigurationProperties.LOG_FILE;
import static org.apache.geode.distributed.ConfigurationProperties.NAME;
import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
-import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManger;
+import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.Properties;
@@ -85,7 +85,7 @@ public class ShutdownCommandDUnitTest {
if (CONNECT_OVER_HTTP) {
gfsh.connectAndVerify(manager.getHttpPort(), http);
} else {
- gfsh.connectAndVerify(manager.getJmxPort(), jmxManger);
+ gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
}
}
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java
index c2f1e72..ae0d932 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java
@@ -40,7 +40,7 @@ public class GfshMultilineCommandTest {
@Test
public void testMultiLineCommand() throws Exception {
- gfsh.connectAndVerify(server.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(server.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
// Execute a command
CommandStringBuilder csb = new CommandStringBuilder(LIST_MEMBER);
csb.addOption(GROUP, "nogroup");
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsPostProcessorTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsPostProcessorTest.java
index 8c06a2d..e40ba71 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsPostProcessorTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsPostProcessorTest.java
@@ -43,7 +43,7 @@ public class GfshCommandsPostProcessorTest {
@Rule
public GfshShellConnectionRule gfshConnection = new GfshShellConnectionRule(
- serverStarter::getJmxPort, GfshShellConnectionRule.PortType.jmxManger);
+ serverStarter::getJmxPort, GfshShellConnectionRule.PortType.jmxManager);
@BeforeClass
public static void beforeClass() throws Exception {
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsSecurityTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsSecurityTest.java
index 3b0f117..abbf7c0 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsSecurityTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/security/GfshCommandsSecurityTest.java
@@ -47,7 +47,7 @@ public class GfshCommandsSecurityTest {
@Rule
public GfshShellConnectionRule gfshConnection = new GfshShellConnectionRule(
- serverStarter::getJmxPort, GfshShellConnectionRule.PortType.jmxManger);
+ serverStarter::getJmxPort, GfshShellConnectionRule.PortType.jmxManager);
@BeforeClass
public static void beforeClass() throws Exception {
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/security/MultiUserDUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/security/MultiUserDUnitTest.java
index c633531..aeed6f3 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/security/MultiUserDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/security/MultiUserDUnitTest.java
@@ -74,7 +74,7 @@ public class MultiUserDUnitTest {
VM vm1 = lsRule.getVM(1);
AsyncInvocation vm1Invoke = vm1.invokeAsync("run as data-reader", () -> {
GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
- gfsh.secureConnectAndVerify(jmxPort, PortType.jmxManger, "dataRead", "dataRead");
+ gfsh.secureConnectAndVerify(jmxPort, PortType.jmxManager, "dataRead", "dataRead");
Awaitility.waitAtMost(5, TimeUnit.MILLISECONDS);
gfsh.close();
@@ -85,7 +85,7 @@ public class MultiUserDUnitTest {
// assert errors comes back are NotAuthorized
AsyncInvocation vm2Invoke = vm2.invokeAsync("run as guest", () -> {
GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
- gfsh.secureConnectAndVerify(jmxPort, PortType.jmxManger, "guest", "guest");
+ gfsh.secureConnectAndVerify(jmxPort, PortType.jmxManager, "guest", "guest");
List<TestCommand> allCommands = TestCommand.getOnlineCommands();
for (TestCommand command : allCommands) {
@@ -120,7 +120,7 @@ public class MultiUserDUnitTest {
// commands and assert we don't get a NotAuthorized Exception
AsyncInvocation vm3Invoke = vm3.invokeAsync("run as superUser", () -> {
GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
- gfsh.secureConnectAndVerify(jmxPort, PortType.jmxManger, "data,cluster", "data,cluster");
+ gfsh.secureConnectAndVerify(jmxPort, PortType.jmxManager, "data,cluster", "data,cluster");
List<TestCommand> allCommands = TestCommand.getOnlineCommands();
for (TestCommand command : allCommands) {
diff --git a/geode-core/src/test/java/org/apache/geode/security/PDXGfshPostProcessorOnRemoteServerTest.java b/geode-core/src/test/java/org/apache/geode/security/PDXGfshPostProcessorOnRemoteServerTest.java
index d55e0e6..ce3fd95 100644
--- a/geode-core/src/test/java/org/apache/geode/security/PDXGfshPostProcessorOnRemoteServerTest.java
+++ b/geode-core/src/test/java/org/apache/geode/security/PDXGfshPostProcessorOnRemoteServerTest.java
@@ -99,7 +99,7 @@ public class PDXGfshPostProcessorOnRemoteServerTest {
});
});
- gfsh.connectAndVerify(locatorVM.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger,
+ gfsh.connectAndVerify(locatorVM.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager,
CliStrings.CONNECT__USERNAME, "dataUser", CliStrings.CONNECT__PASSWORD, "1234567");
// get command
diff --git a/geode-core/src/test/java/org/apache/geode/security/PDXPostProcessorDUnitTest.java b/geode-core/src/test/java/org/apache/geode/security/PDXPostProcessorDUnitTest.java
index f691a58..984c2f2 100644
--- a/geode-core/src/test/java/org/apache/geode/security/PDXPostProcessorDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/security/PDXPostProcessorDUnitTest.java
@@ -214,7 +214,7 @@ public class PDXPostProcessorDUnitTest extends JUnit4DistributedTestCase {
this.client1.invoke(() -> {
GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
gfsh.secureConnectAndVerify(this.server.getJmxPort(),
- GfshShellConnectionRule.PortType.jmxManger, "dataUser", "1234567");
+ GfshShellConnectionRule.PortType.jmxManager, "dataUser", "1234567");
// get command
CommandResult result = gfsh.executeAndVerifyCommand("get --key=key1 --region=AuthRegion");
diff --git a/geode-core/src/test/java/org/apache/geode/test/junit/rules/GfshShellConnectionRule.java b/geode-core/src/test/java/org/apache/geode/test/junit/rules/GfshShellConnectionRule.java
index 475a63e..7122679 100644
--- a/geode-core/src/test/java/org/apache/geode/test/junit/rules/GfshShellConnectionRule.java
+++ b/geode-core/src/test/java/org/apache/geode/test/junit/rules/GfshShellConnectionRule.java
@@ -70,7 +70,7 @@ import org.apache.geode.test.dunit.IgnoredException;
public class GfshShellConnectionRule extends DescribedExternalResource {
private Supplier<Integer> portSupplier;
- private PortType portType = PortType.jmxManger;
+ private PortType portType = PortType.jmxManager;
private HeadlessGfsh gfsh = null;
private boolean connected = false;
private IgnoredException ignoredException;
@@ -270,6 +270,6 @@ public class GfshShellConnectionRule extends DescribedExternalResource {
}
public enum PortType {
- locator, jmxManger, http
+ locator, jmxManager, http
}
}
diff --git a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/cli/LuceneIndexCommandsDUnitTest.java b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/cli/LuceneIndexCommandsDUnitTest.java
index 479d46c..bbe863c 100755
--- a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/cli/LuceneIndexCommandsDUnitTest.java
+++ b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/cli/LuceneIndexCommandsDUnitTest.java
@@ -41,7 +41,6 @@ import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
-import org.junit.rules.TestName;
import org.junit.runner.RunWith;
import org.apache.geode.cache.Cache;
@@ -90,7 +89,7 @@ public class LuceneIndexCommandsDUnitTest implements Serializable {
}
public void connect(MemberVM serverVM) throws Exception {
- gfsh.connectAndVerify(serverVM.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(serverVM.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
@Test
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/AlterRuntimeCommandDUnitTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/AlterRuntimeCommandDUnitTest.java
index 2bc9c91..f99b6f0 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/AlterRuntimeCommandDUnitTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/AlterRuntimeCommandDUnitTest.java
@@ -85,7 +85,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(server0.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -139,7 +139,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -175,7 +175,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csbSetFileSizeLimit =
@@ -223,7 +223,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -266,7 +266,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_LIMIT = 10;
@@ -316,7 +316,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -354,7 +354,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -384,7 +384,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -425,7 +425,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final String TEST_NAME = "statisticsArchive";
@@ -462,7 +462,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final String TEST_NAME = "statisticsArchive";
@@ -507,7 +507,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final String TEST_NAME = "statisticsArchive";
@@ -551,7 +551,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -587,7 +587,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_RATE = 2000;
@@ -633,7 +633,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_RATE = 2500;
@@ -680,7 +680,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -715,7 +715,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_LIMIT = 10;
@@ -754,7 +754,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_LIMIT = 10;
@@ -801,7 +801,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_LIMIT = 25;
@@ -849,7 +849,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -897,7 +897,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_LIMIT = 10;
@@ -936,7 +936,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_LIMIT = 10;
@@ -983,7 +983,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
final int TEST_LIMIT = 25;
@@ -1031,7 +1031,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -1066,7 +1066,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -1107,7 +1107,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
server2.invoke(() -> {
@@ -1153,7 +1153,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
CommandStringBuilder csb = new CommandStringBuilder(CliStrings.ALTER_RUNTIME_CONFIG);
@@ -1184,7 +1184,7 @@ public class AlterRuntimeCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(locator.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
Properties props = new Properties();
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandIntegrationTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandIntegrationTest.java
index b340690..5f496f6 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandIntegrationTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandIntegrationTest.java
@@ -40,7 +40,7 @@ public class ConnectCommandIntegrationTest {
@Test
public void connectOverJmx() throws Exception {
- gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
@Test
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java
index ffca301..4b036a5 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java
@@ -180,7 +180,7 @@ public class ConnectCommandWithSSLTest {
assertThat(gfsh.getGfshOutput())
.contains("trying to connect a non-SSL-enabled client to an SSL-enabled locator");
- gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
assertThat(gfsh.isConnected()).isFalse();
assertThat(gfsh.getGfshOutput()).contains("non-JRMP server at remote endpoint");
@@ -198,7 +198,7 @@ public class ConnectCommandWithSSLTest {
assertThat(gfsh.isConnected()).isTrue();
gfsh.disconnect();
- gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger,
+ gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager,
"security-properties-file", sslConfigFile.getAbsolutePath());
assertThat(gfsh.isConnected()).isTrue();
gfsh.disconnect();
@@ -220,7 +220,7 @@ public class ConnectCommandWithSSLTest {
.contains("trying to connect a non-SSL-enabled client to an SSL-enabled locator");
// can connect to jmx
- gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger,
+ gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager,
"security-properties-file", sslConfigFile.getAbsolutePath());
assertThat(gfsh.isConnected()).isTrue();
gfsh.disconnect();
@@ -247,7 +247,7 @@ public class ConnectCommandWithSSLTest {
gfsh.disconnect();
// can connect to jmx
- gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger,
+ gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager,
"security-properties-file", sslConfigFile.getAbsolutePath());
assertThat(gfsh.isConnected()).isTrue();
gfsh.disconnect();
@@ -267,7 +267,7 @@ public class ConnectCommandWithSSLTest {
assertThat(gfsh.isConnected()).isFalse();
// cannot connect to jmx
- gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger,
+ gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager,
"security-properties-file", sslConfigFile.getAbsolutePath());
assertThat(gfsh.isConnected()).isFalse();
@@ -286,7 +286,7 @@ public class ConnectCommandWithSSLTest {
assertThat(gfsh.isConnected()).isFalse();
// cannot connect to jmx
- gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger,
+ gfsh.connect(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager,
"security-properties-file", sslConfigFile.getAbsolutePath());
assertThat(gfsh.isConnected()).isFalse();
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSecurityTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSecurityTest.java
index 44548d2..4b42b2e 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSecurityTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSecurityTest.java
@@ -44,7 +44,7 @@ public class ConnectCommandWithSecurityTest {
@Test
public void connectOverJmx() throws Exception {
- gfsh.secureConnectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger,
+ gfsh.secureConnectAndVerify(locator.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager,
"clusterRead", "clusterRead");
gfsh.executeAndVerifyCommand("list members");
}
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandDUnitTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandDUnitTest.java
index 7ea68c7..5238a47 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandDUnitTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/DescribeConfigCommandDUnitTest.java
@@ -63,7 +63,7 @@ public class DescribeConfigCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(server0.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
server0.invoke(() -> {
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExecuteFunctionCommandWithSecurityDUnitTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExecuteFunctionCommandWithSecurityDUnitTest.java
index 45b4701..cdbf9e0 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExecuteFunctionCommandWithSecurityDUnitTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExecuteFunctionCommandWithSecurityDUnitTest.java
@@ -18,7 +18,7 @@ package org.apache.geode.management.internal.cli.commands;
import static org.apache.geode.distributed.ConfigurationProperties.SECURITY_MANAGER;
import static org.apache.geode.management.internal.security.TestFunctions.ReadFunction;
import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
-import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManger;
+import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.Properties;
@@ -108,6 +108,6 @@ public class ExecuteFunctionCommandWithSecurityDUnitTest {
}
private void givenReadOnlyConnectionOverJmx() throws Exception {
- gfsh.secureConnectAndVerify(locator.getJmxPort(), jmxManger, "dataRead", "dataRead");
+ gfsh.secureConnectAndVerify(locator.getJmxPort(), jmxManager, "dataRead", "dataRead");
}
}
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExportConfigCommandDUnitTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExportConfigCommandDUnitTest.java
index c66776f..c978743 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExportConfigCommandDUnitTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExportConfigCommandDUnitTest.java
@@ -60,7 +60,7 @@ public class ExportConfigCommandDUnitTest {
if (connectOverHttp) {
gfsh.connectAndVerify(server0.getHttpPort(), GfshShellConnectionRule.PortType.http);
} else {
- gfsh.connectAndVerify(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManger);
+ gfsh.connectAndVerify(server0.getJmxPort(), GfshShellConnectionRule.PortType.jmxManager);
}
// start server1 and server2 in group2
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].