Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 53f1c67d7 -> 8c50fc144


PHOENIX-2410 Move NUM_MILLIS_IN_DAY constant to TestUtil


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 8c50fc1446f3dfbfb2548ef78e5c1f19b3fe6563
Parents: 53f1c67
Author: James Taylor <[email protected]>
Authored: Thu Nov 12 17:04:23 2015 -0800
Committer: James Taylor <[email protected]>
Committed: Thu Nov 12 17:05:05 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/phoenix/end2end/index/IndexExpressionIT.java  | 3 +--
 phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java  | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8c50fc14/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexExpressionIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexExpressionIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexExpressionIT.java
index c193ee6..e3d1db7 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexExpressionIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexExpressionIT.java
@@ -12,6 +12,7 @@ package org.apache.phoenix.end2end.index;
 import static org.apache.phoenix.util.TestUtil.INDEX_DATA_SCHEMA;
 import static org.apache.phoenix.util.TestUtil.INDEX_DATA_TABLE;
 import static org.apache.phoenix.util.TestUtil.MUTABLE_INDEX_DATA_TABLE;
+import static org.apache.phoenix.util.TestUtil.NUM_MILLIS_IN_DAY;
 import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
@@ -41,8 +42,6 @@ import org.junit.Test;
 
 public class IndexExpressionIT extends BaseHBaseManagedTimeIT {
 
-    private static final int NUM_MILLIS_IN_DAY = 86400000;
-
     @Test
     public void testImmutableIndexCreateAndUpdate() throws Exception {
         helpTestCreateAndUpdate(false, false);

http://git-wip-us.apache.org/repos/asf/phoenix/blob/8c50fc14/phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java 
b/phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
index 1d56dba..0fb9473 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
@@ -208,6 +208,7 @@ public class TestUtil {
     public static final String JOIN_SUPPLIER_TABLE_DISPLAY_NAME = JOIN_SCHEMA 
+ "." + JOIN_SUPPLIER_TABLE;
     public static final String JOIN_COITEM_TABLE_DISPLAY_NAME = JOIN_SCHEMA + 
"." + JOIN_COITEM_TABLE;
     public static final String BINARY_NAME = "BinaryTable";
+    public static final int NUM_MILLIS_IN_DAY = 86400000;
 
     /**
      * Read-only properties used by all tests

Reply via email to