MXS-2008 Update gateway and tests to initialize maxbase
Update gateway and tests to initialize maxbase using maxbase::init(); instead of initializing individual components.
This commit is contained in:
@ -15,8 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxbase/messagequeue.hh>
|
||||
#include <maxbase/worker.hh>
|
||||
#include <maxbase/maxbase.hh>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/housekeeper.h>
|
||||
#include <maxscale/maxscale_test.h>
|
||||
@ -48,8 +47,7 @@ void init_test_env(char *path)
|
||||
qc_setup(NULL, QC_SQL_MODE_DEFAULT, NULL, NULL);
|
||||
qc_process_init(QC_INIT_BOTH);
|
||||
poll_init();
|
||||
mxb::MessageQueue::init();
|
||||
mxb::Worker::init();
|
||||
maxbase::init();
|
||||
maxscale::RoutingWorker::init();
|
||||
hkinit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user