Skip to content

Commit

Permalink
fixup! remove eyecatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Feb 18, 2020
1 parent acc2310 commit fda0070
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/parallel/test-tls-server-early-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tmpdir.refresh();
const sessionPath = path.join(tmpdir.path, 'sess.pem');

const server = tls
.createServer(options, (s) => s.end('eyecatcher'))
.createServer(options, (s) => s.end('ok'))
.listen(0, '127.0.0.1', common.mustCall(go));

function go() {
Expand All @@ -42,7 +42,6 @@ function go() {
proc.stdout.pipe(process.stdout); // For debugging.
proc.on('exit', common.mustCall((exitCode, signalCode) => {
assert.strictEqual(exitCode, 0);
assert(stdout.includes('eyecatcher'));
assert(stdout.includes('Early data was not sent'));
assert(stdout.includes('New, TLSv1.3, Cipher is TLS_'));
next();
Expand All @@ -66,7 +65,6 @@ function next() {
proc.stdout.pipe(process.stdout); // For debugging.
proc.on('exit', common.mustCall((exitCode, signalCode) => {
assert.strictEqual(exitCode, 0);
assert(stdout.includes('eyecatcher'));
assert(stdout.includes('Early data was not sent'));
assert(stdout.includes('Reused, TLSv1.3, Cipher is TLS_'));
assert(!stdout.includes('Early data was accepted'));
Expand Down

0 comments on commit fda0070

Please sign in to comment.