driver.run("create database " + dbName);
listSize++;
Database db = msc.getDatabase(dbName);
assertEquals(listSize, notifyList.size());
CreateDatabaseEvent dbEvent = (CreateDatabaseEvent)(notifyList.get(listSize - 1));
assert dbEvent.getStatus();
assertEquals(db.getName(), dbEvent.getDatabase().getName());
assertEquals(db.getLocationUri(), dbEvent.getDatabase().getLocationUri());
driver.run("use " + dbName);
driver.run(String.format("create table %s (a string) partitioned by (b string)", tblName));
listSize++;
Table tbl = msc.getTable(dbName, tblName);