Browse Source

Bug 23512: Test fix: cmux is now allocated by new_fake_channel()

Mike Perry 5 years ago
parent
commit
ad10cafd9f
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/test/test_relay.c

+ 0 - 4
src/test/test_relay.c

@@ -78,10 +78,6 @@ test_relay_close_circuit(void *arg)
   pchan = new_fake_channel();
   tt_assert(pchan);
 
-  /* We'll need chans with working cmuxes */
-  nchan->cmux = circuitmux_alloc();
-  pchan->cmux = circuitmux_alloc();
-
   /* Make a fake orcirc */
   orcirc = new_fake_orcirc(nchan, pchan);
   tt_assert(orcirc);