* Disable and drop all the tables except SYSTEM.CATALOG and SYSTEM.SEQUENCE
*/
protected static void disableAndDropNonSystemTables(PhoenixTestDriver driver) throws Exception {
HBaseAdmin admin = driver.getConnectionQueryServices(null, null).getAdmin();
try {
HTableDescriptor[] tables = admin.listTables();
for (HTableDescriptor table : tables) {
boolean isCatalogTable = (Bytes.compareTo(table.getName(), PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME_BYTES) == 0);
boolean isSequenceTable = (Bytes.compareTo(table.getName(), PhoenixDatabaseMetaData.SEQUENCE_TABLE_NAME_BYTES) == 0);
if (!isCatalogTable && !isSequenceTable) {
admin.disableTable(table.getName());