Procházet zdrojové kódy

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

Mike Perry před 5 roky
rodič
revize
ad10cafd9f
1 změnil soubory, kde provedl 0 přidání a 4 odebrání
  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);