geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinmeil...@apache.org
Subject [geode] branch develop updated: GEODE-4625: Add missing @Category to test. (#1494)
Date Fri, 23 Feb 2018 01:26:22 GMT
This is an automated email from the ASF dual-hosted git repository.

jinmeiliao 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 a454e97  GEODE-4625: Add missing @Category to test. (#1494)
a454e97 is described below

commit a454e97d73e7ccc071b8151b57dd02d6032ef12a
Author: Patrick Rhomberg <prhomberg@pivotal.io>
AuthorDate: Thu Feb 22 17:26:18 2018 -0800

    GEODE-4625: Add missing @Category to test. (#1494)
---
 .../management/internal/cli/commands/CreateRegionSecurityTest.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/CreateRegionSecurityTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/CreateRegionSecurityTest.java
index c5b7c5c..8171f75 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/CreateRegionSecurityTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/CreateRegionSecurityTest.java
@@ -22,14 +22,17 @@ import static org.apache.geode.test.junit.rules.GfshCommandRule.PortType.jmxMana
 import org.junit.ClassRule;
 import org.junit.Rule;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 import org.junit.rules.TestName;
 
 import org.apache.geode.security.SimpleTestSecurityManager;
+import org.apache.geode.test.junit.categories.IntegrationTest;
 import org.apache.geode.test.junit.rules.ConnectionConfiguration;
 import org.apache.geode.test.junit.rules.GfshCommandRule;
 import org.apache.geode.test.junit.rules.ServerStarterRule;
 import org.apache.geode.test.junit.rules.serializable.SerializableTestName;
 
+@Category(IntegrationTest.class)
 public class CreateRegionSecurityTest {
   @ClassRule
   public static ServerStarterRule server = new ServerStarterRule()
@@ -53,13 +56,13 @@ public class CreateRegionSecurityTest {
   // further permission.
   @Test
   @ConnectionConfiguration(user = "dataManage", password = "dataManage")
-  public void dataManageAuthorzied() {
+  public void dataManageAuthorized() {
     String regionName = testName.getMethodName();
     gfsh.executeAndAssertThat("create region --type=REPLICATE --name=" + regionName)
         .statusIsSuccess();
 
     gfsh.executeAndAssertThat("create region --type=REPLICATE --name=" + regionName).statusIsError()
-        .containsOutput("Region /dataManageAuthorzied already exists on the cluster");
+        .containsOutput("Region /dataManageAuthorized already exists on the cluster");
 
     gfsh.executeAndAssertThat("create region --type=REPLICATE_PROXY --name=" + regionName)
         .statusIsError()

-- 
To stop receiving notification emails like this one, please contact
jinmeiliao@apache.org.

Mime
View raw message