Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.0 4022c29f9 -> 3919e67a0
PHOENIX-3061 IndexTool marks index as ACTIVE and exit 0 even if bulkload has error Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/3919e67a Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/3919e67a Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/3919e67a Branch: refs/heads/4.x-HBase-1.0 Commit: 3919e67a049295189b53900de1553c60c1616acc Parents: 4022c29 Author: James Taylor <[email protected]> Authored: Wed Jul 13 11:34:37 2016 +0200 Committer: James Taylor <[email protected]> Committed: Wed Jul 13 11:43:23 2016 +0200 ---------------------------------------------------------------------- .../phoenix/end2end/index/AsyncImmutableIndexIT.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/3919e67a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java index 46bbfca..df047d6 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/AsyncImmutableIndexIT.java @@ -26,19 +26,29 @@ import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.DriverManager; import java.sql.ResultSet; +import java.util.Collections; +import java.util.Map; import java.util.Properties; -import org.apache.phoenix.end2end.BaseHBaseManagedTimeIT; +import org.apache.phoenix.end2end.BaseOwnClusterHBaseManagedTimeIT; import org.apache.phoenix.schema.PIndexState; import org.apache.phoenix.schema.PTableType; import org.apache.phoenix.util.PropertiesUtil; import org.apache.phoenix.util.QueryUtil; +import org.apache.phoenix.util.ReadOnlyProps; import org.apache.phoenix.util.StringUtil; +import org.junit.BeforeClass; import org.junit.Test; -public class AsyncImmutableIndexIT extends BaseHBaseManagedTimeIT { +public class AsyncImmutableIndexIT extends BaseOwnClusterHBaseManagedTimeIT { private static final long MAX_WAIT_FOR_INDEX_BUILD_TIME_MS = 45000; + @BeforeClass + public static void doSetup() throws Exception { + Map<String, String> props = Collections.emptyMap(); + setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator())); + } + @Test public void testDeleteFromImmutable() throws Exception { Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
