Skip to content

markus456/mrm-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mrm-tests

Tests for replication-manager and MaxScale.

Running tests requires:

  • Python 3
  • transitions (pip3 install transitions)
  • A local MaxAdmin executable

Edit the following files to do the following actions:

  • start.sh: Start a node, either 0 or 1 is given as parameter for either first or second node
  • stop.sh: Stop a node, same parameters as start
  • bootstrap.sh: Bootstrap the cluster into a running state
  • bootstrap_cluster_down.sh: Bootstrap the cluster into a downed state

Test syntax

The tests consist of two a node setup with one master and one slave. Each line in a .test file is considered a state of the cluster. Here's an example:

MS
MX
MS

This starts with the first server as Master and the second server as Slave (MS). Then the second server goes down (MX) and is restarted again (MS).

About

Test for replication-manager: https://github.com/tanji/replication-manager

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published