[tor-commits] [tor/master] Fix scheduler assertion in circuitmux/destroy_cell_queue unit test
nickm at torproject.org
nickm at torproject.org
Fri Nov 28 03:58:31 UTC 2014
commit 283646fd9089a337003dcd7c020e0820c7270662
Author: Andrea Shepard <andrea at torproject.org>
Date: Wed Dec 4 21:43:13 2013 -0800
Fix scheduler assertion in circuitmux/destroy_cell_queue unit test
---
src/test/test_circuitmux.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/test_circuitmux.c b/src/test/test_circuitmux.c
index a3cacc4..c1c8f77 100644
--- a/src/test/test_circuitmux.c
+++ b/src/test/test_circuitmux.c
@@ -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 */
More information about the tor-commits
mailing list