Skip to content
Snippets Groups Projects
Commit 283646fd authored by Andrea Shepard's avatar Andrea Shepard
Browse files

Fix scheduler assertion in circuitmux/destroy_cell_queue unit test

parent 63bb9a79
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
#include "channel.h"
#include "circuitmux.h"
#include "relay.h"
#include "scheduler.h"
#include "test.h"
/* XXXX duplicated function from test_circuitlist.c */
......@@ -36,6 +37,8 @@ test_cmux_destroy_cell_queue(void *arg)
cell_queue_t *cq = NULL;
packed_cell_t *pc = NULL;
scheduler_init();
#ifdef ENABLE_MEMPOOLS
init_cell_pool();
#endif /* ENABLE_MEMPOOLS */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment