1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +03:00

More unit tests for various error conditions on certification.

This commit is contained in:
Teemu Ollakka
2018-06-11 18:17:00 +03:00
parent 82081e459d
commit f506faa360
9 changed files with 382 additions and 10 deletions

View File

@ -470,7 +470,7 @@ namespace wsrep
* only for critical conditions which would sacrifice data
* consistency.
*/
virtual void abort() const = 0;
virtual void abort() = 0;
public:
/*!
@ -485,7 +485,7 @@ namespace wsrep
/*!
* Enter debug synchronization point.
*/
virtual void debug_sync(const char*) = 0;
virtual void debug_sync(wsrep::unique_lock<wsrep::mutex>&, const char*) = 0;
/*!
*

View File

@ -38,6 +38,13 @@ namespace wsrep
};
class log_warning : public log
{
public:
log_warning()
: log("WARNING") { }
};
class log_debug : public log
{
public: