Skip to content

Commit

Permalink
test: fix test-tls-session-timeout
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and MylesBorins committed Dec 26, 2018
1 parent 8ab0a48 commit 45d4851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pummel/test-tls-session-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 45d4851

Please sign in to comment.