Fix test-program failures

Due to recent changes, mxs::MessageQueue::init() must be called
explicitly, if a monitor is created.
This commit is contained in:
Johan Wikman
2018-06-29 10:42:28 +03:00
parent 9525d3507b
commit 0afcd4b468
2 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include <sstream>
#include <vector>
#include <maxscale/alloc.h>
#include <maxscale/messagequeue.hh>
#include <set>
using std::string;
@ -69,6 +70,8 @@ private:
int main()
{
mxs::MessageQueue::init();
MariaDBMonitor::Test tester;
return tester.run_tests();
}