List<String> dropPartVals = new ArrayList<String>();
dropPartVals.add("2011");
msc.dropPartition(dbName, tblName, dropPartVals, envContext);
listSize++;
assertEquals(notifyList.size(), listSize);
DropPartitionEvent dropPartEvent = (DropPartitionEvent)notifyList.get(listSize - 1);
assert dropPartEvent.getStatus();
assertEquals(envContext, dropPartEvent.getEnvironmentContext());
Log.debug("Dropping partition by name");
msc.dropPartition(dbName, tblName, "b=2012", true, envContext);
listSize++;
assertEquals(notifyList.size(), listSize);
DropPartitionEvent dropPartByNameEvent = (DropPartitionEvent)notifyList.get(listSize - 1);
assert dropPartByNameEvent.getStatus();
assertEquals(envContext, dropPartByNameEvent.getEnvironmentContext());
Log.debug("Dropping table");
msc.dropTable(dbName, tblName, true, false, envContext);
listSize++;
assertEquals(notifyList.size(), listSize);