Permalink
Browse files

test: fix test-tls-session-timeout

Tests in pummel seem to break often and stay broken because they don't
get run in CI. In preparation for running pummel tests in CI once a day,
this fixes test-tls-session-timeout. `key` and `cert` are now the
contents of the relevant files and not the paths.

PR-URL: #25188
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information...
Trott authored and MylesBorins committed Dec 23, 2018
1 parent 8ab0a48 commit 45d48510bd4dcc4de27ce4b7c6811336b775abd8
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/pummel/test-tls-session-timeout.js
@@ -50,8 +50,8 @@ function doTest() {

const SESSION_TIMEOUT = 1;

const key = fixtures.path('agent.key');
const cert = fixtures.path('agent.crt');
const key = fixtures.readSync('agent.key');
const cert = fixtures.readSync('agent.crt');
const options = {
key: key,
cert: cert,

0 comments on commit 45d4851

Please sign in to comment.