Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@
import java.util.Arrays;
import java.util.Collection;
import java.util.Properties;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.phoenix.schema.PTableImpl;
import org.apache.phoenix.schema.types.PVarbinary;
import org.apache.phoenix.util.PropertiesUtil;
import org.junit.After;
import org.junit.Assert;
import org.junit.Test;
import org.junit.experimental.categories.Category;
Expand Down Expand Up @@ -82,6 +84,15 @@ public VarBinaryEncoded1IT(boolean columnEncoded, String transactionProvider, bo
this.isBindStatement = isBindStatement;
}

// Each test case creates new tables. Drop them after each case, because hundreds of open
// regions in one class exhaust the heap of the test JVM. The test driver keeps the HBase
// table when Phoenix drops a table, so drop the HBase tables also.
@After
public void dropTables() throws Exception {
deletePriorMetaData(HConstants.LATEST_TIMESTAMP, getUrl());
disableAndDropNonSystemTables();
}

@Parameterized.Parameters(
name = "VarBinary1IT_columnEncoded={0}, transactionProvider={1}, mutable={2},"
+ " isBindStatement={3}")
Expand Down
Loading