Add configuration reset command

Resetting the settings makes it possible to start a test from a known good
configuration.
This commit is contained in:
Markus Mäkelä
2018-02-01 11:05:38 +02:00
parent 8c8aaeae8e
commit 0d037b2c24
2 changed files with 31 additions and 0 deletions

View File

@ -396,6 +396,18 @@ public:
*/
void add_server_setting(int node, const char* setting);
/**
* Restore the original configuration for this server
*
* @param node Node to restore
*/
void reset_server_settings(int node);
/**
* Restore the original configuration for all servers
*/
void reset_server_settings();
/**
* @brief revert_nodes_snapshot Execute MDBCI snapshot revert command for all nodes
* @return true in case of success