usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject usergrid git commit: Ignore additional tests that rely on the temporarily removed read repair.
Date Fri, 04 Dec 2015 19:39:35 GMT
Repository: usergrid
Updated Branches:
  refs/heads/1.x 1b26c6658 -> 98658fded


Ignore additional tests that rely on the temporarily removed read repair.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/98658fde
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/98658fde
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/98658fde

Branch: refs/heads/1.x
Commit: 98658fded7319af36227285cfdee73776e85c32c
Parents: 1b26c66
Author: Michael Russo <michaelarusso@gmail.com>
Authored: Fri Dec 4 11:38:58 2015 -0800
Committer: Michael Russo <michaelarusso@gmail.com>
Committed: Fri Dec 4 11:38:58 2015 -0800

----------------------------------------------------------------------
 .../usergrid/tools/UserUniqueIndexCleanupTest.java    | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/98658fde/stack/tools/src/test/java/org/apache/usergrid/tools/UserUniqueIndexCleanupTest.java
----------------------------------------------------------------------
diff --git a/stack/tools/src/test/java/org/apache/usergrid/tools/UserUniqueIndexCleanupTest.java
b/stack/tools/src/test/java/org/apache/usergrid/tools/UserUniqueIndexCleanupTest.java
index f537857..1254220 100644
--- a/stack/tools/src/test/java/org/apache/usergrid/tools/UserUniqueIndexCleanupTest.java
+++ b/stack/tools/src/test/java/org/apache/usergrid/tools/UserUniqueIndexCleanupTest.java
@@ -78,8 +78,8 @@ public class UserUniqueIndexCleanupTest {
     @ClassRule
     public static ServiceITSetup setup = new ServiceITSetupImpl( ServiceITSuite.cassandraResource
);
 
-
-    @org.junit.Test
+    @Ignore("Temporarily disabled as read repair is disabled temporarily in EntityManagerImpl.")
+    @Test
     public void testBasicOperation() throws Exception {
         UserUniqueIndexCleanup userUniqueIndexCleanup = new UserUniqueIndexCleanup();
         userUniqueIndexCleanup.startTool( new String[] {
@@ -90,7 +90,7 @@ public class UserUniqueIndexCleanupTest {
     }
 
     //this test is perfect for the other tool the userCollectionFix tool as this is what
I believe they were seeing.
-    @Ignore ("WRong test not made for unique index cleanup.")
+    @Ignore ("Wrong test not made for unique index cleanup.")
     public void testRepairOfSingleEntityMissingColumnWrongTool() throws Exception{
         String rand = RandomStringUtils.randomAlphanumeric( 10 );
 
@@ -167,7 +167,7 @@ public class UserUniqueIndexCleanupTest {
     //checks for bug when only column doesn't exist make sure to delete the row as well.
 
     //due to the read repair this is no longer a valid test of hte unique index cleanup
-    @Ignore
+    @Ignore("Temporarily disabled as read repair is disabled temporarily in EntityManagerImpl.")
     public void testRepairOfSingleEntity() throws Exception{
         String rand = RandomStringUtils.randomAlphanumeric( 10 );
 
@@ -242,7 +242,7 @@ public class UserUniqueIndexCleanupTest {
     //checks for bug when only column doesn't exist make sure to delete the row as well.
    // Due to the read repair this is no longer a valid test of unique index cleanup.
     @Test
-    @Ignore
+    @Ignore("Temporarily disabled as read repair is disabled temporarily in EntityManagerImpl.")
     public void testRepairOfMultipleEntities() throws Exception{
         String rand = RandomStringUtils.randomAlphanumeric( 10 );
 
@@ -321,6 +321,7 @@ public class UserUniqueIndexCleanupTest {
         }
     }
 
+    @Ignore("Temporarily disabled as read repair is disabled temporarily in EntityManagerImpl.")
     @Test
     public void testRepairOfOnlyOneOfTwoColumns() throws Exception{
         String rand = RandomStringUtils.randomAlphanumeric( 10 );
@@ -391,6 +392,7 @@ public class UserUniqueIndexCleanupTest {
 
     }
 
+    @Ignore("Temporarily disabled as read repair is disabled temporarily in EntityManagerImpl.")
     @Test
     public void testStringParsing(){
         UserUniqueIndexCleanup userUniqueIndexCleanup = new UserUniqueIndexCleanup();
@@ -412,7 +414,7 @@ public class UserUniqueIndexCleanupTest {
     }
 
     //POinting at single values is broken now but not entirely used right now anyways.
-    //@Ignore
+    @Ignore("Temporarily disabled as read repair is disabled temporarily in EntityManagerImpl.")
     @Test
     public void testRepairOfOnlyOneOfTwoColumnsWhilePointingAtSingleValue() throws Exception{
         String rand = RandomStringUtils.randomAlphanumeric( 10 );


Mime
View raw message