From 715075b747ec35d96800738d78dadfdca2e546c5 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sat, 18 May 2019 13:14:42 -0700 Subject: [PATCH] fix test --- http/server_test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/http/server_test.ts b/http/server_test.ts index 904a667c7f9da..f7100bd382d87 100644 --- a/http/server_test.ts +++ b/http/server_test.ts @@ -48,7 +48,6 @@ test(async function responseWrite(): Promise { const buf = new Buffer(); const bufw = new BufWriter(buf); const request = new ServerRequest(); - request.pipelineId = 1; request.w = bufw; const d0 = deferred(); @@ -68,12 +67,11 @@ test(async function responseWrite(): Promise { return -1; }, close: (): void => {}, - lastPipelineId: 0, - pendingDeferredMap: new Map([[0, d0], [1, d1]]) }; await request.respond(testCase.response); assertEquals(buf.toString(), testCase.raw); + await request.done; } });