Explorar o código

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

Mike Perry %!s(int64=6) %!d(string=hai) anos
pai
achega
ad10cafd9f
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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);