You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by sk...@apache.org on 2019/08/13 23:38:46 UTC

[phoenix] branch 4.14-HBase-1.4 updated: PHOENIX-5441: NPE in phoenix-pherf/ConfigurationParserTest#testConfigReader (Mihir Monani)

This is an automated email from the ASF dual-hosted git repository.

skadam pushed a commit to branch 4.14-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.14-HBase-1.4 by this push:
     new e5c4813  PHOENIX-5441: NPE in phoenix-pherf/ConfigurationParserTest#testConfigReader (Mihir Monani)
e5c4813 is described below

commit e5c48137e2b91058d196e7b6a017b76b740f3713
Author: s.kadam <sk...@apache.org>
AuthorDate: Tue Aug 13 11:13:59 2019 -0700

    PHOENIX-5441: NPE in phoenix-pherf/ConfigurationParserTest#testConfigReader (Mihir Monani)
    
    Signed-off-by: s.kadam <sk...@apache.org>
---
 .../src/test/java/org/apache/phoenix/pherf/ConfigurationParserTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/ConfigurationParserTest.java b/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/ConfigurationParserTest.java
index a2b5b63..a791a5c 100644
--- a/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/ConfigurationParserTest.java
+++ b/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/ConfigurationParserTest.java
@@ -199,6 +199,7 @@ public class ConfigurationParserTest extends ResultBaseTest {
             data.setDataMappingColumns(columnList);
 
             Scenario scenario = new Scenario();
+            scenario.setName("Index_Scenario");
             scenario.setTenantId("00DXXXXXX");
         	List<Ddl> preScenarioDdls = new ArrayList<Ddl>();
         	preScenarioDdls.add(new Ddl("CREATE INDEX IF NOT EXISTS ? ON FHA (NEWVAL_NUMBER) ASYNC", "FHAIDX_NEWVAL_NUMBER"));
@@ -219,6 +220,7 @@ public class ConfigurationParserTest extends ResultBaseTest {
             querySet.setNumberOfExecutions(20);
             query.setStatement("select * from FHA");
             Scenario scenario2 = new Scenario();
+            scenario2.setName("RowCount_Scenario");
             scenario2.setPhoenixProperties(new HashMap<String, String>());
             scenario2.setDataOverride(new DataOverride());
             scenario2.setTableName("tableName2");