From 5e6ec6f422b0f50ab5d3cb6afa7ed541347af02b Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Fri, 13 Nov 2020 12:26:08 +0100 Subject: [PATCH] Revert "failing test" This reverts commit 5dbed426c269cd23323765aab9efecae01ac8d14. --- tests/testmplex.nim | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/testmplex.nim b/tests/testmplex.nim index e0c47e108..cb12d5cc5 100644 --- a/tests/testmplex.nim +++ b/tests/testmplex.nim @@ -235,22 +235,6 @@ suite "Mplex": check await allFutures(rfut, wfut, wfut2).withTimeout(100.millis) await conn.close() - asyncTest "should complete both read and push 2": - proc writeHandler(data: seq[byte]) {.async, gcsafe.} = discard - let - conn = newBufferStream(writeHandler) - chann = LPChannel.init(1, conn, true) - - var data = newSeq[byte](1) - let rfut = chann.readExactly(addr data[0], 1) - rfut.cancel() - - let wfut = chann.pushData(@[0'u8]) - let wfut2 = chann.pushData(@[0'u8]) - await chann.reset() - check await allFutures(rfut, wfut, wfut2).withTimeout(100.millis) - await conn.close() - asyncTest "channel should fail writing": proc writeHandler(data: seq[byte]) {.async, gcsafe.} = discard let