Skip to content

Commit 45d4851

Browse files
TrottMylesBorins
authored andcommitted
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>
1 parent 8ab0a48 commit 45d4851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pummel/test-tls-session-timeout.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ function doTest() {
5050

5151
const SESSION_TIMEOUT = 1;
5252

53-
const key = fixtures.path('agent.key');
54-
const cert = fixtures.path('agent.crt');
53+
const key = fixtures.readSync('agent.key');
54+
const cert = fixtures.readSync('agent.crt');
5555
const options = {
5656
key: key,
5757
cert: cert,

0 commit comments

Comments
 (0)