Fix internal test header

The polling and message queue systems weren't initalized.
This commit is contained in:
Markus Mäkelä 2017-05-08 21:26:00 +03:00
parent 9e68726219
commit c27b2a1805

View File

@ -23,6 +23,7 @@
#include "../maxscale/poll.h"
#include "../maxscale/statistics.h"
#include "../maxscale/worker.hh"
void init_test_env(char *path)
@ -37,6 +38,8 @@ void init_test_env(char *path)
mxs_log_init(NULL, logdir, MXS_LOG_TARGET_DEFAULT);
dcb_global_init();
poll_init();
maxscale::MessageQueue::init();
maxscale::Worker::init();
hkinit();
}