Fix internal test header
The polling and message queue systems weren't initalized.
This commit is contained in:
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include "../maxscale/poll.h"
|
#include "../maxscale/poll.h"
|
||||||
#include "../maxscale/statistics.h"
|
#include "../maxscale/statistics.h"
|
||||||
|
#include "../maxscale/worker.hh"
|
||||||
|
|
||||||
|
|
||||||
void init_test_env(char *path)
|
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);
|
mxs_log_init(NULL, logdir, MXS_LOG_TARGET_DEFAULT);
|
||||||
dcb_global_init();
|
dcb_global_init();
|
||||||
poll_init();
|
poll_init();
|
||||||
|
maxscale::MessageQueue::init();
|
||||||
|
maxscale::Worker::init();
|
||||||
hkinit();
|
hkinit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user