瀏覽代碼

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

Mike Perry 5 年之前
父節點
當前提交
ad10cafd9f
共有 1 個文件被更改,包括 0 次插入4 次删除
  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);