mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-15 15:41:49 +03:00
Refactored server_service out of server_state.
This commit is contained in:
@ -13,13 +13,15 @@
|
||||
|
||||
namespace wsrep
|
||||
{
|
||||
class mock_server_state : public wsrep::server_state
|
||||
class mock_server_state
|
||||
: public wsrep::server_state
|
||||
, public wsrep::server_service
|
||||
{
|
||||
public:
|
||||
mock_server_state(const std::string& name,
|
||||
const std::string& id,
|
||||
enum wsrep::server_state::rollback_mode rollback_mode)
|
||||
: wsrep::server_state(mutex_, cond_,
|
||||
: wsrep::server_state(mutex_, cond_, *this,
|
||||
name, id, "", "./", rollback_mode)
|
||||
, mutex_()
|
||||
, cond_()
|
||||
|
Reference in New Issue
Block a user