geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esh...@apache.org
Subject [geode] branch feature/GEODE-5376 updated: move test to new package.
Date Wed, 18 Jul 2018 00:18:12 GMT
This is an automated email from the ASF dual-hosted git repository.

eshu11 pushed a commit to branch feature/GEODE-5376
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-5376 by this push:
     new 7d4abe9  move test to new package.
7d4abe9 is described below

commit 7d4abe9308d60f27783584a9c2f3b7aa2fb89362
Author: eshu <eshu@pivotal.io>
AuthorDate: Tue Jul 17 17:17:42 2018 -0700

    move test to new package.
---
 .../geode/internal/jta}/ClientServerJTAFailoverDistributedTest.java  | 5 +----
 .../src/test/java/org/apache/geode/internal/cache/TXStateTest.java   | 3 ---
 .../cache/tier/sockets/command/TXSynchronizationCommandTest.java     | 3 ---
 3 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/jta/functional/ClientServerJTAFailoverDistributedTest.java
b/geode-core/src/distributedTest/java/org/apache/geode/internal/jta/ClientServerJTAFailoverDistributedTest.java
similarity index 98%
rename from geode-core/src/test/java/org/apache/geode/internal/jta/functional/ClientServerJTAFailoverDistributedTest.java
rename to geode-core/src/distributedTest/java/org/apache/geode/internal/jta/ClientServerJTAFailoverDistributedTest.java
index 43ab209..cb27de2 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/jta/functional/ClientServerJTAFailoverDistributedTest.java
+++ b/geode-core/src/distributedTest/java/org/apache/geode/internal/jta/ClientServerJTAFailoverDistributedTest.java
@@ -13,7 +13,7 @@
  * the License.
  */
 
-package org.apache.geode.internal.jta.functional;
+package org.apache.geode.internal.jta;
 
 import static org.apache.geode.test.dunit.VM.getHostName;
 import static org.apache.geode.test.dunit.VM.getVM;
@@ -28,7 +28,6 @@ import org.awaitility.Awaitility;
 import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
-import org.junit.experimental.categories.Category;
 
 import org.apache.geode.cache.PartitionAttributes;
 import org.apache.geode.cache.PartitionAttributesFactory;
@@ -53,10 +52,8 @@ import org.apache.geode.test.dunit.VM;
 import org.apache.geode.test.dunit.rules.CacheRule;
 import org.apache.geode.test.dunit.rules.ClientCacheRule;
 import org.apache.geode.test.dunit.rules.DistributedTestRule;
-import org.apache.geode.test.junit.categories.DistributedTest;
 import org.apache.geode.test.junit.rules.serializable.SerializableTestName;
 
-@Category(DistributedTest.class)
 public class ClientServerJTAFailoverDistributedTest implements Serializable {
   private String hostName;
   private String uniqueName;
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/TXStateTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/TXStateTest.java
index 0fee670..1770782 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/TXStateTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/TXStateTest.java
@@ -29,15 +29,12 @@ import javax.transaction.Status;
 
 import org.junit.Before;
 import org.junit.Test;
-import org.junit.experimental.categories.Category;
 
 import org.apache.geode.cache.CommitConflictException;
 import org.apache.geode.cache.SynchronizationCommitConflictException;
 import org.apache.geode.cache.TransactionDataNodeHasDepartedException;
 import org.apache.geode.cache.TransactionException;
-import org.apache.geode.test.junit.categories.UnitTest;
 
-@Category(UnitTest.class)
 public class TXStateTest {
   private TXStateProxyImpl txStateProxy;
   private CommitConflictException exception;
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/command/TXSynchronizationCommandTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/command/TXSynchronizationCommandTest.java
index adac845..7bfb557 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/command/TXSynchronizationCommandTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/command/TXSynchronizationCommandTest.java
@@ -26,7 +26,6 @@ import javax.transaction.Status;
 
 import org.junit.Before;
 import org.junit.Test;
-import org.junit.experimental.categories.Category;
 
 import org.apache.geode.cache.client.internal.TXSynchronizationOp;
 import org.apache.geode.distributed.internal.membership.InternalDistributedMember;
@@ -38,9 +37,7 @@ import org.apache.geode.internal.cache.tier.Command;
 import org.apache.geode.internal.cache.tier.sockets.Message;
 import org.apache.geode.internal.cache.tier.sockets.Part;
 import org.apache.geode.internal.cache.tier.sockets.ServerConnection;
-import org.apache.geode.test.junit.categories.UnitTest;
 
-@Category(UnitTest.class)
 public class TXSynchronizationCommandTest {
   private Message clientMessage;
   private ServerConnection serverConnection;


Mime
View raw message