mirror of https://github.com/apache/cassandra
Set setIsShutdownUnsafeForTests(true) in dtests to fix shutdown race condition
Patch by Kristijonas Zalys, reviewed by brandonwilliams and mck for CASSANDRA-18440
This commit is contained in:
parent
64b8d6b9ad
commit
7ffbd714b4
|
|
@ -794,6 +794,7 @@ public class Instance extends IsolatedExecutor implements IInvokableInstance
|
|||
|
||||
error = parallelRun(error, executor,
|
||||
() -> StorageService.instance.setRpcReady(false),
|
||||
() -> StorageService.instance.setIsShutdownUnsafeForTests(true),
|
||||
CassandraDaemon.getInstanceForTesting()::destroyClientTransports);
|
||||
|
||||
if (config.has(GOSSIP) || config.has(NETWORK))
|
||||
|
|
|
|||
Loading…
Reference in New Issue