mirror of https://github.com/apache/cassandra
update for test
This commit is contained in:
parent
c8079bd97f
commit
675c4a87e5
|
|
@ -1449,7 +1449,7 @@ public class AccordService implements IAccordService, Shutdownable
|
|||
|
||||
Preconditions.checkArgument(!nodeStreamingContext.isEmpty());
|
||||
|
||||
CoordinatedTransfer transfer = new CoordinatedTransfer(node().nextCoordinationId(), keyspace, metadata, nodeStreamingContext, topology.epoch(), getTokenRangeSpanningSSTables(sstables, metadata));
|
||||
CoordinatedTransfer transfer = new CoordinatedTransfer(node().nextCoordinatedTransferId(), keyspace, metadata, nodeStreamingContext, topology.epoch(), getTokenRangeSpanningSSTables(sstables, metadata));
|
||||
|
||||
transfer.execute();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -346,6 +346,8 @@ public class AccordImportSSTableTest extends TestBaseImpl
|
|||
try (Cluster cluster = init(builder().withNodes(3).withoutVNodes()
|
||||
.withDataDirCount(1).withConfig((config) ->
|
||||
config
|
||||
.set("accord.recover_txn", "100ms")
|
||||
.set("accord.permit_local_delivery", false)
|
||||
.with(Feature.NETWORK, Feature.GOSSIP)).start()))
|
||||
{
|
||||
cluster.schemaChange("DROP KEYSPACE IF EXISTS " + KEYSPACE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue