MXS-1446: Add execution of dummy failover command
The failover command is simulated by executing a call to /usr/bin/echo with all possible monitor parameters. This allows testing of the failover mechanism without actually using the failover command.
This commit is contained in:
@ -77,6 +77,7 @@ void monitorSetInterval (MXS_MONITOR *, unsigned long);
|
||||
bool monitorSetNetworkTimeout(MXS_MONITOR *, int, int);
|
||||
void monitorSetJournalMaxAge(MXS_MONITOR *mon, time_t value);
|
||||
void monitorSetScriptTimeout(MXS_MONITOR *mon, uint32_t value);
|
||||
void monitorSetFailover(MXS_MONITOR *mon, bool value);
|
||||
void monitorSetFailoverTimeout(MXS_MONITOR *mon, uint32_t value);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user