abstract class MultiNodeConfig extends AnyRef
Configure the role names and participants of the test, including configuration settings.
- Source
- MultiNodeSpec.scala
- Alphabetic
- By Inheritance
- MultiNodeConfig
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MultiNodeConfig()
Value Members
-
def
commonConfig(config: Config): Unit
Register a common base config for all test participants, if so desired.
-
def
debugConfig(on: Boolean): Config
Include for verbose debug logging
Include for verbose debug logging
- on
when
true
debug Config is returned, otherwise config with info logging
- def deployOn(role: RoleName, deployment: String): Unit
- def deployOnAll(deployment: String): Unit
-
def
nodeConfig(roles: RoleName*)(configs: Config*): Unit
Register a config override for a specific participant.
-
def
role(name: String): RoleName
Construct a RoleName and return it, to be used as an identifier in the test.
Construct a RoleName and return it, to be used as an identifier in the test. Registration of a role name creates a role which then needs to be filled.
-
def
testTransport(on: Boolean): Unit
To be able to use
blackhole
,passThrough
, andthrottle
you must activate the failure injector and throttler transport adapters by specifyingtestTransport(on = true)
in your MultiNodeConfig.