@Test
    public void testCreateTablesInDBWithDefaultTableTypeAcid() throws Exception {
        String acid_database = "acid_database";
        runStatementOnDriver("create database "+acid_database+" with DBPROPERTIES('defaultTableType'='ACID')");
        runStatementOnDriver("use "+acid_database);

        runStatementOnDriver("create table " + TableNames.TRANSACTIONALTBL7 + " (id int, name string)");
        Table managed_table_7 = client.getTable(acid_database, TableNames.TRANSACTIONALTBL7.toString());
        assertEquals("Created table type is expected to be managed but found to be external", managed_table_7.getTableType(), table_type_managed);

        runStatementOnDriver("create external table " + TableNames.EXTERNALTABLE6 + " (id int, name string)");
        Table external_table_6 = client.getTable(acid_database, TableNames.EXTERNALTABLE6.toString());
        assertEquals("Created table type is expected to be external but found to be managed", external_table_6.getTableType(), table_type_external);

        runStatementOnDriver("drop database " + acid_database + " cascade");
        LOG.info("Test execution complete:testCreateTablesInDBWithDefaultTableTypeAcid");
    }
Tests the TestDatabaseTableDefault.testCreateTablesInDBWithDefaultTableTypeAcid method for creating acid tables in the database by default.
@throws Exception If there is an error creating managed tables
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/TestDatabaseTableDefault.java