From 021d032160217ed0f48280f524d584c841485bcb Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Wed, 2 Oct 2019 08:18:38 -0400 Subject: [PATCH] fix test timeout (#176) * fix test timeout --- __tests__/exec.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/__tests__/exec.test.ts b/__tests__/exec.test.ts index 680d182..e0b6964 100644 --- a/__tests__/exec.test.ts +++ b/__tests__/exec.test.ts @@ -255,6 +255,8 @@ describe('@actions/exec', () => { }) it('Handles child process holding streams open', async function() { + // this was timing out on some slower hosted macOS runs at default 5s + jest.setTimeout(10000) const semaphorePath = path.join( getTestTemp(), 'child-process-semaphore.txt' @@ -301,6 +303,8 @@ describe('@actions/exec', () => { }) it('Handles child process holding streams open and non-zero exit code', async function() { + // this was timing out on some slower hosted macOS runs at default 5s + jest.setTimeout(10000) const semaphorePath = path.join( getTestTemp(), 'child-process-semaphore.txt'