phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] gokceni commented on a change in pull request #441: PHOENIX-5089 Add tenantId parameter to IndexScrunityTool
Date Wed, 20 Feb 2019 21:20:08 GMT
gokceni commented on a change in pull request #441: PHOENIX-5089 Add tenantId parameter to
IndexScrunityTool
URL: https://github.com/apache/phoenix/pull/441#discussion_r258680680
 
 

 ##########
 File path: phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexScrutinyToolIT.java
 ##########
 @@ -551,11 +558,132 @@ public void testMaxOutputRows() throws Exception {
         }
     }
 
+    /**
+     * Tests that the config for max number of output rows is observed
+     */
+    @Test
+    public void testTenantId() throws Exception {
+        boolean doesTableExist = false;
+        try {
+            PhoenixRuntime.getTable(conn, MULTI_TENANT_DATA_TABLE_NAME);
+            doesTableExist = true;
+        } catch (TableNotFoundException e) {
+            doesTableExist = false;
+        }
+
+        // We already run this test, return.
+        if (doesTableExist) {
+            return;
+        }
 
 Review comment:
   will refactor

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message