KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Tests.MigratorTests Class Reference

Testing the MigrationActor More...

Inheritance diagram for KlusterKite.NodeManager.Tests.MigratorTests:
KlusterKite.Core.TestKit.BaseActorTest< MigratorTests.Configurator >

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)
 
ExpectMsg< T > (string path)
 Waiting for message

See also
TestActorForwarder

that was sent to the specified address More...

 
ExpectMsg< T > (string path, TimeSpan timeout)
 Waiting for message

See also
TestActorForwarder

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

See also
TestActorForwarder
More...
 
TestMessage< T > ExpectTestMsg< T > (TimeSpan timeout)
 Waiting for message

See also
TestActorForwarder

that was sent on specified time More...

 

Detailed Description

Testing the MigrationActor

Definition at line 46 of file MigratorTests.cs.

Constructor & Destructor Documentation

◆ MigratorTests()

KlusterKite.NodeManager.Tests.MigratorTests.MigratorTests ( ITestOutputHelper  output)

Initializes a new instance of the MigratorTests class.

Parameters
outputThe output.

Definition at line 64 of file MigratorTests.cs.

Member Function Documentation

◆ ConfigurationCheckFailedTest()

void KlusterKite.NodeManager.Tests.MigratorTests.ConfigurationCheckFailedTest ( )

MigrationActor checks the upgrade migration

Definition at line 75 of file MigratorTests.cs.

◆ ConfigurationUpgradeCheckTest()

void KlusterKite.NodeManager.Tests.MigratorTests.ConfigurationUpgradeCheckTest ( )

MigrationActor checks the upgrade migration

Definition at line 125 of file MigratorTests.cs.

◆ MigrationCheckFailed()

void KlusterKite.NodeManager.Tests.MigratorTests.MigrationCheckFailed ( )

MigrationActor fails on get state request

Definition at line 206 of file MigratorTests.cs.

◆ MigrationDownGradeCheckTest()

void KlusterKite.NodeManager.Tests.MigratorTests.MigrationDownGradeCheckTest ( )

MigrationActor checks the downgrade migration

Definition at line 273 of file MigratorTests.cs.

◆ MigrationNoChangeTest()

void KlusterKite.NodeManager.Tests.MigratorTests.MigrationNoChangeTest ( )

MigrationActor checks the migration with no resource change

Definition at line 379 of file MigratorTests.cs.

◆ MigrationUpgradeCheckTest()

void KlusterKite.NodeManager.Tests.MigratorTests.MigrationUpgradeCheckTest ( )

MigrationActor checks the upgrade migration

Definition at line 455 of file MigratorTests.cs.

◆ MigrationUpgradeMigrationFailedTest()

void KlusterKite.NodeManager.Tests.MigratorTests.MigrationUpgradeMigrationFailedTest ( )

MigrationActor checks the upgrade migration with failed migration

Definition at line 562 of file MigratorTests.cs.


The documentation for this class was generated from the following file: