@Test void installsTablesWhenMissing() {
    session().execute("CREATE KEYSPACE " + storage.keyspace
      + " WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'};");

    Schema.ensureExists(session(), storage.keyspace, false);

    KeyspaceMetadata metadata = session().getMetadata().getKeyspace(storage.keyspace).get();
    assertThat(metadata.getTable(TABLE_SPAN)).isNotNull();
    assertThat(metadata.getTable(TABLE_DEPENDENCY)).isNotNull();

    for (String searchTable : SEARCH_TABLES) {
      assertThat(metadata.getTable(searchTable))
        .withFailMessage("Expected to not find " + searchTable).isEmpty();
    }
  }
This test is very slow as installing the schema can take 10s per method.
zipkin-storage/cassandra/src/test/java/zipkin2/storage/cassandra/ITEnsureSchema.java