This is an automated email from the ASF dual-hosted git repository. larsh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push: new ecf9d82 PHOENIX-5348 increase batch size from 1 to 1000. ecf9d82 is described below commit ecf9d82b5c7763de829c40fd6b85fb1bf078acd8 Author: Lars Hofhansl <la...@apache.org> AuthorDate: Mon Jun 17 11:43:17 2019 -0700 PHOENIX-5348 increase batch size from 1 to 1000. --- .../src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java index 02ff8dd..04268df 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java @@ -86,6 +86,7 @@ public class IndexRebuildTaskIT extends BaseUniqueNamesOwnClusterIT { Connection viewConn = null; try { conn = DriverManager.getConnection(getUrl()); + conn.setAutoCommit(false); Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES); props.setProperty(PhoenixRuntime.TENANT_ID_ATTRIB, TENANT1); @@ -108,7 +109,7 @@ public class IndexRebuildTaskIT extends BaseUniqueNamesOwnClusterIT { viewConn.createStatement().execute(idxSDDL); // Insert rows - int numOfValues = 1; + int numOfValues = 1000; for (int i=0; i < numOfValues; i++){ viewConn.createStatement().execute( String.format("UPSERT INTO %s VALUES('%s', '%s', '%s')", viewName, String.valueOf(i), "y",