Repository: incubator-geode
Updated Branches:
  refs/heads/develop 966612915 -> 8fcd9c0e6


GEODE-1255: Adding missing @Category annotations

DeployCommandsDUnitTest and HostedLocatorsDUnitTest were missing
categories.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/8fcd9c0e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/8fcd9c0e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/8fcd9c0e

Branch: refs/heads/develop
Commit: 8fcd9c0e6beafe2b12ecfc0ca126179e5c77750d
Parents: 9666129
Author: Dan Smith <upthewatersp...@apache.org>
Authored: Thu May 5 16:50:42 2016 -0700
Committer: Dan Smith <upthewatersp...@apache.org>
Committed: Thu May 5 17:12:51 2016 -0700

----------------------------------------------------------------------
 .../com/gemstone/gemfire/distributed/HostedLocatorsDUnitTest.java | 3 +++
 .../management/internal/cli/commands/DeployCommandsDUnitTest.java | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8fcd9c0e/geode-core/src/test/java/com/gemstone/gemfire/distributed/HostedLocatorsDUnitTest.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/com/gemstone/gemfire/distributed/HostedLocatorsDUnitTest.java
 
b/geode-core/src/test/java/com/gemstone/gemfire/distributed/HostedLocatorsDUnitTest.java
index 1e5c8b0..042e896 100644
--- 
a/geode-core/src/test/java/com/gemstone/gemfire/distributed/HostedLocatorsDUnitTest.java
+++ 
b/geode-core/src/test/java/com/gemstone/gemfire/distributed/HostedLocatorsDUnitTest.java
@@ -28,6 +28,7 @@ import java.util.Set;
 import java.util.concurrent.Callable;
 
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import com.gemstone.gemfire.distributed.AbstractLauncher.Status;
 import com.gemstone.gemfire.distributed.LocatorLauncher.Builder;
@@ -41,12 +42,14 @@ import com.gemstone.gemfire.internal.util.StopWatch;
 import com.gemstone.gemfire.test.dunit.SerializableCallable;
 import com.gemstone.gemfire.test.dunit.SerializableRunnable;
 import com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase;
+import com.gemstone.gemfire.test.junit.categories.DistributedTest;
 
 /**
  * Extracted from LocatorLauncherLocalIntegrationTest.
  * 
  * @since 8.0
  */
+@Category(DistributedTest.class)
 public class HostedLocatorsDUnitTest extends JUnit4DistributedTestCase {
 
   protected static final int TIMEOUT_MILLISECONDS = 5 * 60 * 1000; // 5 minutes

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8fcd9c0e/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/DeployCommandsDUnitTest.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/DeployCommandsDUnitTest.java
 
b/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/DeployCommandsDUnitTest.java
index 88e7b30..7d1a7ff 100644
--- 
a/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/DeployCommandsDUnitTest.java
+++ 
b/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/DeployCommandsDUnitTest.java
@@ -25,6 +25,7 @@ import java.util.Properties;
 import java.util.regex.Pattern;
 
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import com.gemstone.gemfire.distributed.Locator;
 import com.gemstone.gemfire.distributed.internal.DistributionConfig;
@@ -45,6 +46,7 @@ import com.gemstone.gemfire.test.dunit.SerializableRunnable;
 import com.gemstone.gemfire.test.dunit.VM;
 import com.gemstone.gemfire.test.dunit.Wait;
 import com.gemstone.gemfire.test.dunit.WaitCriterion;
+import com.gemstone.gemfire.test.junit.categories.DistributedTest;
 
 /**
  * Unit tests for the DeployCommands class
@@ -52,6 +54,7 @@ import com.gemstone.gemfire.test.dunit.WaitCriterion;
  * @since 7.0
  */
 @SuppressWarnings("serial")
+@Category(DistributedTest.class)
 public class DeployCommandsDUnitTest extends CliCommandTestBase {
 
   private final Pattern pattern = Pattern.compile("^" + JarDeployer.JAR_PREFIX 
+ "DeployCommandsDUnit.*#\\d++$");

Reply via email to