protected void runRenameTable(TableName oldName, TableName newName) {
AkibanInformationSchema aisCopy = aisCloner().clone(ddl().getAIS(session()));
Table oldTable = aisCopy.getTable(oldName);
assertNotNull("Found old table " + oldName, oldTable);
AISTableNameChanger changer = new AISTableNameChanger(aisCopy.getTable(oldName), newName);
changer.doChange();
Table newTable = aisCopy.getTable(newName);
assertNotNull("Found new table " + newName, oldTable);
runAlter(ChangeLevel.METADATA, oldName, newTable, NO_CHANGES, NO_CHANGES);
}