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 <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Dec 25, 2018
1 parent 56fb66b commit 9c2e97e
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 9c2e97e

Please sign in to comment.