Note: To be able to run tests with everything ignored or excluded by tags you must not use `testconductor`, or helper methods that use `testconductor`, from the constructor of your test class. Otherwise the controller node might be shutdown before other nodes have completed and you will see errors like: `AskTimeoutException: sending to terminated ref breaks promises`. Using lazy val is fine.
Inheritance: Akka.TestKit.TestKitBase, IMultiNodeSpecCallbacks, IDisposable
Beispiel #1
0
 public Replacement(string tag, RoleName role, MultiNodeSpec spec)
 {
     _tag  = tag;
     _role = role;
     _addr = new Lazy <string>(() => spec.Node(role).Address.ToString());
 }
Beispiel #2
0
 public Replacement(string tag, RoleName role, MultiNodeSpec spec)
 {
     _tag = tag;
     _role = role;
     _addr = new Lazy<string>(() => spec.Node(role).Address.ToString());
 }