package testconductor
- Alphabetic
- Public
- Protected
Type Members
- trait Conductor extends AnyRef
The conductor is the one orchestrating the test: it governs the pekko.remote.testconductor.Controller’s port to which all pekko.remote.testconductor.Players connect, it issues commands to their
org.apache.pekko.remote.testconductor.NetworkFailureInjector
and provides support for barriers using the pekko.remote.testconductor.BarrierCoordinator.The conductor is the one orchestrating the test: it governs the pekko.remote.testconductor.Controller’s port to which all pekko.remote.testconductor.Players connect, it issues commands to their
org.apache.pekko.remote.testconductor.NetworkFailureInjector
and provides support for barriers using the pekko.remote.testconductor.BarrierCoordinator. All of this is bundled inside the pekko.remote.testconductor.TestConductorExt extension. - trait Player extends AnyRef
The Player is the client component of the pekko.remote.testconductor.TestConductorExt extension.
The Player is the client component of the pekko.remote.testconductor.TestConductorExt extension. It registers with the pekko.remote.testconductor.Conductor’s pekko.remote.testconductor.Controller in order to participate in barriers and enable network failure injection.
- final case class RoleName(name: String) extends Product with Serializable
- class TestConductorExt extends Extension with Conductor with Player
This binds together the pekko.remote.testconductor.Conductor and pekko.remote.testconductor.Player roles inside an Akka pekko.actor.Extension.
This binds together the pekko.remote.testconductor.Conductor and pekko.remote.testconductor.Player roles inside an Akka pekko.actor.Extension. Please follow the aforementioned links for more information.
Note
This extension requires the
pekko.actor.provider
to be a pekko.remote.RemoteActorRefProvider.To use
,blackhole
, andpassThrough
you must activate the failure injector and throttler transport adapters by specifyingthrottle
testTransport(on = true)
in your MultiNodeConfig. - final class TestConductorProtocol extends AnyRef
Value Members
- object Player
- Annotations
- @ccompatUsedUntil213()
- object TestConductor extends ExtensionId[TestConductorExt] with ExtensionIdProvider
Access to the pekko.remote.testconductor.TestConductorExt extension:
Access to the pekko.remote.testconductor.TestConductorExt extension:
val tc = TestConductor(system) tc.startController(numPlayers) // OR tc.startClient(conductorPort)