The conductor is the one orchestrating the test: it governs the
akka.remote.testconductor.Controller’s port to which all
akka.remote.testconductor.Players connect, it issues commands to their
akka.remote.testconductor.NetworkFailureInjector
and provides support
for barriers using the akka.remote.testconductor.BarrierCoordinator.
The conductor is the one orchestrating the test: it governs the
akka.remote.testconductor.Controller’s port to which all
akka.remote.testconductor.Players connect, it issues commands to their
akka.remote.testconductor.NetworkFailureInjector
and provides support
for barriers using the akka.remote.testconductor.BarrierCoordinator.
All of this is bundled inside the akka.remote.testconductor.TestConductorExt
extension.
The Player is the client component of the akka.remote.testconductor.TestConductorExt extension.
The Player is the client component of the akka.remote.testconductor.TestConductorExt extension. It registers with the akka.remote.testconductor.Conductor’s akka.remote.testconductor.Controller in order to participate in barriers and enable network failure injection.
This binds together the akka.remote.testconductor.Conductor and akka.remote.testconductor.Player roles inside an Akka akka.actor.Extension.
This binds together the akka.remote.testconductor.Conductor and akka.remote.testconductor.Player roles inside an Akka akka.actor.Extension. Please follow the aforementioned links for more information.
This extension requires the akka.actor.provider
to be a akka.remote.RemoteActorRefProvider.
To use
, blackhole
, and passThrough
you must activate the
failure injector and throttler transport adapters by specifying throttle
testTransport(on = true)
in your MultiNodeConfig.
Access to the akka.remote.testconductor.TestConductorExt extension:
Access to the akka.remote.testconductor.TestConductorExt extension:
val tc = TestConductor(system) tc.startController(numPlayers) // OR tc.startClient(conductorPort)