Repository: incubator-pirk
Updated Branches:
  refs/heads/master 0b5dcd852 -> b90b418b1


Resetting data.schema and query.schema properties before starting the 
QuerySchemaUtilsTest - attempt to fix the Jenkins instabilities


Project: http://git-wip-us.apache.org/repos/asf/incubator-pirk/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-pirk/commit/7d475557
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pirk/tree/7d475557
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pirk/diff/7d475557

Branch: refs/heads/master
Commit: 7d4755570f0bd9f3a58b92fb57c382170ea87913
Parents: 0b5dcd8
Author: eawilliams <[email protected]>
Authored: Sun Jul 31 12:46:43 2016 -0400
Committer: eawilliams <[email protected]>
Committed: Sun Jul 31 12:46:43 2016 -0400

----------------------------------------------------------------------
 src/test/java/test/general/QueryParserUtilsTest.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/7d475557/src/test/java/test/general/QueryParserUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/test/general/QueryParserUtilsTest.java 
b/src/test/java/test/general/QueryParserUtilsTest.java
index 3591a74..6f0a03b 100644
--- a/src/test/java/test/general/QueryParserUtilsTest.java
+++ b/src/test/java/test/general/QueryParserUtilsTest.java
@@ -31,6 +31,7 @@ import org.apache.pirk.schema.query.QuerySchemaRegistry;
 import org.apache.pirk.test.utils.Inputs;
 import org.apache.pirk.utils.QueryParserUtils;
 import org.apache.pirk.utils.StringUtils;
+import org.apache.pirk.utils.SystemConfiguration;
 import org.json.simple.JSONObject;
 import org.junit.Test;
 import org.slf4j.Logger;
@@ -55,6 +56,8 @@ public class QueryParserUtilsTest
 
     DataSchemaRegistry.clearRegistry();
     QuerySchemaRegistry.clearRegistry();
+    SystemConfiguration.setProperty("data.schemas", "none");
+    SystemConfiguration.setProperty("query.schemas", "none");
     
     Inputs.createSchemaFiles(null, false, null);
 

Reply via email to