Repository: phoenix
Updated Branches:
  refs/heads/omid2 98f33e323 -> 8a52aa40b


PHOENIX-4975 Addendum to fix unit tests


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

Branch: refs/heads/omid2
Commit: 8a52aa40b75013afedc6bdbc2908c118d49d4304
Parents: 98f33e3
Author: James Taylor <jamestay...@apache.org>
Authored: Tue Oct 16 23:49:23 2018 -0700
Committer: James Taylor <jamestay...@apache.org>
Committed: Tue Oct 16 23:49:23 2018 -0700

----------------------------------------------------------------------
 .../it/java/org/apache/phoenix/schema/stats/StatsCollectorIT.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8a52aa40/phoenix-core/src/it/java/org/apache/phoenix/schema/stats/StatsCollectorIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/schema/stats/StatsCollectorIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/schema/stats/StatsCollectorIT.java
index 0caf61a..f1c4e45 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/schema/stats/StatsCollectorIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/schema/stats/StatsCollectorIT.java
@@ -635,7 +635,7 @@ public abstract class StatsCollectorIT extends 
BaseUniqueNamesOwnClusterIT {
                 // an exact byte count based on the number or rows is not 
possible because
                 // it is variable on a row-by-row basis.
                 long sumOfGuidePostsWidth = rs.getLong(3);
-                assertTrue(hasShadowCells ? sumOfGuidePostsWidth > 2 * c2Bytes 
&& sumOfGuidePostsWidth <= 3 * c2Bytes: rs.getLong(3) == c2Bytes);
+                assertTrue(hasShadowCells ? sumOfGuidePostsWidth > c2Bytes : 
sumOfGuidePostsWidth == c2Bytes);
                 count++;
             }
         }

Reply via email to