use of com.datastax.oss.simulacron.common.stubbing.PrimeDsl.RowBuilder in project java-driver by datastax.
the class AllLoadBalancingPoliciesSimulacronIT method reset.
@Before
public void reset() {
SIMULACRON_RULE.cluster().start();
SIMULACRON_RULE.cluster().clearLogs();
SIMULACRON_RULE.cluster().clearPrimes(true);
SIMULACRON_RULE.cluster().prime(PrimeDsl.when("SELECT * FROM system_schema.keyspaces").then(new RowBuilder().columnTypes(KEYSPACE_COLUMNS).row(KEYSPACE_ROW).build()));
}
Aggregations