hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syuanji...@apache.org
Subject [34/50] [abbrv] hbase git commit: HBASE-17895 TestAsyncProcess#testAction fails if unsafe support is false
Date Mon, 17 Apr 2017 20:55:13 GMT
HBASE-17895 TestAsyncProcess#testAction fails if unsafe support is false

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/23249eb0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/23249eb0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/23249eb0

Branch: refs/heads/hbase-12439
Commit: 23249eb0f5466b3608d80847b398b38b698fcf95
Parents: 3aadc67
Author: AShiou <aa8693@gmail.com>
Authored: Tue Apr 11 23:03:48 2017 +0800
Committer: Chia-Ping Tsai <chia7712@gmail.com>
Committed: Wed Apr 12 11:42:13 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/client/TestAsyncProcess.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/23249eb0/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
index 3139af1..6c5c1e4 100644
--- a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
+++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
@@ -1185,8 +1185,8 @@ public class TestAsyncProcess {
     assertTrue(action_2.equals(action_3));
     assertFalse(action_0.equals(action_3));
     assertEquals(0, action_0.compareTo(action_0));
-    assertEquals(-1, action_0.compareTo(action_1));
-    assertEquals(1, action_1.compareTo(action_0));
+    assertTrue(action_0.compareTo(action_1) < 0);
+    assertTrue(action_1.compareTo(action_0) > 0);
     assertEquals(0, action_1.compareTo(action_2));
   }
 


Mime
View raw message