diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowMetricsCommandIntegrationTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowMetricsCommandIntegrationTest.java index f17c68125035..b18af6ccbf2f 100644 --- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowMetricsCommandIntegrationTest.java +++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowMetricsCommandIntegrationTest.java @@ -32,8 +32,8 @@ import org.apache.geode.cache.RegionShortcut; import org.apache.geode.internal.logging.LogService; import org.apache.geode.test.junit.categories.IntegrationTest; -import org.apache.geode.test.junit.rules.GfshShellConnectionRule; -import org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType; +import org.apache.geode.test.junit.rules.GfshCommandRule; +import org.apache.geode.test.junit.rules.GfshCommandRule.PortType; import org.apache.geode.test.junit.rules.ServerStarterRule; @Category(IntegrationTest.class) @@ -48,7 +48,7 @@ public class ShowMetricsCommandIntegrationTest { .withName(MEMBER_NAME).withJMXManager().withEmbeddedLocator().withAutoStart(); @Rule - public GfshShellConnectionRule gfsh = new GfshShellConnectionRule(); + public GfshCommandRule gfsh = new GfshCommandRule(); @Test public void everyCategoryHasAUseCase() throws Exception {