}
@Test
public void multipleSchemasAndRestart() throws Exception {
final int TABLE_COUNT = 3;
AkibanInformationSchema ais = ais();
final int UT_COUNT = ais.getTables().size();
createTable(SCHEMA+"1", "t1", "id int not null primary key");
createTable(SCHEMA+"2", "t2", "id int not null primary key");
createTable(SCHEMA+"3", "t3", "id int not null primary key");
ais = ais();
assertEquals("user tables count", TABLE_COUNT + UT_COUNT, ais.getTables().size());
assertTablesInSchema(SCHEMA+"1", "t1");
assertTablesInSchema(SCHEMA+"2", "t2");
assertTablesInSchema(SCHEMA+"3", "t3");
safeRestart();
ais = ais();
assertNotNull("ais exists", ais);
assertEquals("user tables count", TABLE_COUNT + UT_COUNT, ais.getTables().size());
assertTablesInSchema(SCHEMA+"1", "t1");
assertTablesInSchema(SCHEMA+"2", "t2");
assertTablesInSchema(SCHEMA+"3", "t3");
}