1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-10 00:53:10 +00:00

fix test timeout (#176)

* fix test timeout
This commit is contained in:
Bryan MacFarlane 2019-10-02 08:18:38 -04:00 committed by GitHub
parent 9d54cd22ea
commit 531da1858f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -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'