C# (CSharp) Akka.Remote.TestKit Пространство имен

Классы

Имя Описание
CommandLine Command line argument parser for individual node tests during a MultiNodeSpec. Parses arguments from Environment.GetCommandLineArgs using the same conventions as canonical Akka. For example (from the Akka.NodeTestRunner source): var nodeIndex = CommandLine.GetInt32("multinode.index"); var assemblyName = CommandLine.GetProperty("multinode.test-assembly"); var typeName = CommandLine.GetProperty("multinode.test-class"); var testName = CommandLine.GetProperty("multinode.test-method");
Controller This controls test execution by managing barriers (delegated to BarrierCoordinator, its child) and allowing network and other failures to be injected at the test nodes. INTERNAL API.
Controller.ClientDisconnected
Controller.ClientDisconnectedException This exception is thrown when a client has disconnected.
Controller.CreateServerFSM
Controller.GetNodes
Controller.GetSockAddr
Controller.NodeInfo
MultiNodeConfig Configure the role names and participants of the test, including configuration settings
MultiNodeSpec 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.
MultiNodeSpec.Replacement
RemoteConnection INTERNAL API