test: fix tls-inception
authorSantiago Gimeno <santiago.gimeno@gmail.com>
Tue, 8 Dec 2015 12:36:38 +0000 (13:36 +0100)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:21 +0000 (11:52 -0800)
commitc41b280a2bb0e36146f317479d18fcd105049b40
treee1290d4004fc979279e775fe8b0ac12e66b5162b
parent0efc35e6d880d11ae876c73dd3c077e727847353
test: fix tls-inception

Make sure all the data is read before checking its validity.
Remove `gotHello` variable and just check that the ssl `end` event
is received.
Remove unused variables.

PR-URL: https://github.com/nodejs/node/pull/4195
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
test/parallel/test-tls-inception.js