From dd5b0a874ab03cd88ae1d059ba7a3fa53aee3532 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 22 Dec 2018 16:21:10 -0800 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/25188 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- test/pummel/test-tls-session-timeout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pummel/test-tls-session-timeout.js b/test/pummel/test-tls-session-timeout.js index 49c38102fc5c5c..338e7dd16b3dce 100644 --- a/test/pummel/test-tls-session-timeout.js +++ b/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,