You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by js...@apache.org on 2017/10/11 20:49:58 UTC
[geode] branch develop updated: GEODE-3685: Fix test failure
This is an automated email from the ASF dual-hosted git repository.
jstewart 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 f6390a7 GEODE-3685: Fix test failure
f6390a7 is described below
commit f6390a76d027ffcbea7c22a97c6ef582734cf8b8
Author: Jared Stewart <js...@pivotal.io>
AuthorDate: Wed Oct 11 11:21:26 2017 -0700
GEODE-3685: Fix test failure
---
.../internal/cli/commands/StopServerAcceptanceTest.java | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/StopServerAcceptanceTest.java b/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/StopServerAcceptanceTest.java
index 247052a..126c66b 100644
--- a/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/StopServerAcceptanceTest.java
+++ b/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/StopServerAcceptanceTest.java
@@ -14,22 +14,12 @@
*/
package org.apache.geode.management.internal.cli.commands;
-import static org.apache.geode.distributed.ConfigurationProperties.SECURITY_MANAGER;
-import static org.assertj.core.api.Assertions.assertThat;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.util.Properties;
-
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
-import org.apache.geode.examples.SimpleSecurityManager;
-import org.apache.geode.management.internal.cli.util.CommandStringBuilder;
import org.apache.geode.test.junit.categories.AcceptanceTest;
-import org.apache.geode.test.junit.rules.gfsh.GfshExecution;
import org.apache.geode.test.junit.rules.gfsh.GfshRule;
import org.apache.geode.test.junit.rules.gfsh.GfshScript;
@@ -47,20 +37,16 @@ public class StopServerAcceptanceTest {
@Test
public void canStopServerByNameWhenConnectedOverJmx() throws Exception {
-
gfshRule.execute("connect", "stop server --name=server");
}
@Test
public void canStopServerByNameWhenConnectedOverHttp() throws Exception {
-
gfshRule.execute("connect --use-http", "stop server --name=server");
}
@Test
public void cannotStopServerByNameWhenNotConnected() throws Exception {
- startCluster();
-
gfshRule.execute(GfshScript.of("stop server --name=server").expectFailure());
}
}
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].