@Test void upgradesOldSchema_remoteService() {
    Version version = Schema.ensureVersion(session().getMetadata());
    Schema.applyCqlFile(version, storage.keyspace, session(), "/zipkin2-schema.cql");
    Schema.applyCqlFile(version, storage.keyspace, session(),
      "/zipkin2-schema-indexes-original.cql");
    Schema.applyCqlFile(version, storage.keyspace, session(), "/zipkin2-schema-upgrade-1.cql");

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

    KeyspaceMetadata metadata = session().getMetadata().getKeyspace(storage.keyspace).get();
    assertThat(Schema.hasUpgrade2_remoteService(metadata)).isTrue();
  }
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