KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Testing the MigrationActor More...
Classes | |
class | Configurator |
Configures current test system More... | |
Public Member Functions | |
MigratorTests (ITestOutputHelper output) | |
Initializes a new instance of the MigratorTests class. More... | |
void | ConfigurationCheckFailedTest () |
MigrationActor checks the upgrade migration More... | |
void | ConfigurationUpgradeCheckTest () |
MigrationActor checks the upgrade migration More... | |
void | MigrationCheckFailed () |
MigrationActor fails on get state request More... | |
void | MigrationDownGradeCheckTest () |
MigrationActor checks the downgrade migration More... | |
void | MigrationNoChangeTest () |
MigrationActor checks the migration with no resource change More... | |
void | MigrationUpgradeCheckTest () |
MigrationActor checks the upgrade migration More... | |
void | MigrationUpgradeMigrationFailedTest () |
MigrationActor checks the upgrade migration with failed migration More... | |
Public Member Functions inherited from KlusterKite.Core.TestKit.BaseActorTest< MigratorTests.Configurator > | |
new TestActorRef< TActor > | ActorOfAsTestActorRef< TActor > (Expression< Func< TActor >> factory, string name=null) |
Create a new actor as child of ActorSystem and returns it as TestActorRef<TActor> to enable access to the underlying actor instance via TestActorRefBase<TActor>.UnderlyingActor. Uses an expression that calls the constructor of TActor . More... | |
new TestActorRef< TActor > | ActorOfAsTestActorRef< TActor > (Props props, string name=null) |
Create a new actor as child of ActorSystem and returns it as TestActorRef<TActor> to enable access to the underlying actor instance via TestActorRefBase<TActor>.UnderlyingActor. Uses an expression that calls the constructor of TActor . More... | |
virtual void | Cleanup () |
Cleanup after test run More... | |
Additional Inherited Members | |
Protected Member Functions inherited from KlusterKite.Core.TestKit.BaseActorTest< MigratorTests.Configurator > | |
BaseActorTest (ITestOutputHelper output) | |
Initializes a new instance of the BaseActorTest<TConfigurator> class. More... | |
override void | Dispose (bool disposing) |
T | ExpectMsg< T > (string path) |
Waiting for message
that was sent to the specified address More... | |
T | ExpectMsg< T > (string path, TimeSpan timeout) |
Waiting for message
that was sent to the specified address on specified time More... | |
void | ExpectNoTestMsg () |
Expecting that there is no new messages More... | |
TestMessage< T > | ExpectTestMsg< T > () |
Expects test message
| |
TestMessage< T > | ExpectTestMsg< T > (TimeSpan timeout) |
Waiting for message
that was sent on specified time More... | |
Testing the MigrationActor
Definition at line 46 of file MigratorTests.cs.
KlusterKite.NodeManager.Tests.MigratorTests.MigratorTests | ( | ITestOutputHelper | output | ) |
Initializes a new instance of the MigratorTests class.
output | The output. |
Definition at line 64 of file MigratorTests.cs.
void KlusterKite.NodeManager.Tests.MigratorTests.ConfigurationCheckFailedTest | ( | ) |
MigrationActor checks the upgrade migration
Definition at line 75 of file MigratorTests.cs.
void KlusterKite.NodeManager.Tests.MigratorTests.ConfigurationUpgradeCheckTest | ( | ) |
MigrationActor checks the upgrade migration
Definition at line 125 of file MigratorTests.cs.
void KlusterKite.NodeManager.Tests.MigratorTests.MigrationCheckFailed | ( | ) |
MigrationActor fails on get state request
Definition at line 206 of file MigratorTests.cs.
void KlusterKite.NodeManager.Tests.MigratorTests.MigrationDownGradeCheckTest | ( | ) |
MigrationActor checks the downgrade migration
Definition at line 273 of file MigratorTests.cs.
void KlusterKite.NodeManager.Tests.MigratorTests.MigrationNoChangeTest | ( | ) |
MigrationActor checks the migration with no resource change
Definition at line 379 of file MigratorTests.cs.
void KlusterKite.NodeManager.Tests.MigratorTests.MigrationUpgradeCheckTest | ( | ) |
MigrationActor checks the upgrade migration
Definition at line 455 of file MigratorTests.cs.
void KlusterKite.NodeManager.Tests.MigratorTests.MigrationUpgradeMigrationFailedTest | ( | ) |
MigrationActor checks the upgrade migration with failed migration
Definition at line 562 of file MigratorTests.cs.