Skip to content

Commit 7d32a3e

Browse files
committed
fix client test getting stuck issue discussed in spdy-http2#367 (comment)
1 parent 57035a5 commit 7d32a3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/client-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ describe('SPDY Client', function () {
7474
server.close(next)
7575

7676
function next () {
77+
// flush the pipe to avoid the GET and POST request tests getting stuck
78+
process.stdout.write('')
7779
if (--waiting === 0) {
7880
done()
7981
}

0 commit comments

Comments
 (0)