mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Change unit tests to mimic application behavior on replaying
Allocate separate client state in mock_client_service::replay() for replaying step. Added two new test cases for streaming replication replay after BF abort.
This commit is contained in:
@ -201,7 +201,6 @@ namespace wsrep
|
||||
wsrep::mock_client_state& cc(
|
||||
static_cast<wsrep::mock_client_state&>(
|
||||
high_priority_service.client_state()));
|
||||
wsrep::high_priority_context high_priority_context(cc);
|
||||
const wsrep::transaction& tc(cc.transaction());
|
||||
wsrep::ws_meta ws_meta;
|
||||
if (replay_result_ == wsrep::provider::success)
|
||||
|
Reference in New Issue
Block a user