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:
@ -17,6 +17,7 @@
|
||||
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/messagequeue.hh>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/session.h>
|
||||
@ -464,6 +465,8 @@ int main(int argc, char **argv)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
mxs::MessageQueue::init();
|
||||
|
||||
rc += test_arguments();
|
||||
rc += test_optional_arguments();
|
||||
rc += test_module_errors();
|
||||
|
Reference in New Issue
Block a user