Skip to content

Commit

Permalink
increase tap timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmmar7 committed Dec 5, 2023
1 parent b15ca78 commit d3c22bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions internal/e2e-realtime-api/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import tap from 'tap'
import { request } from 'node:https'
import { randomUUID, randomBytes } from 'node:crypto'

Expand Down Expand Up @@ -85,6 +86,7 @@ export const createTestRunner = ({
call_relay_context: `d-app-ctx-${uuid}`,
})
}
tap.setTimeout(executionTime)
const exitCode = await testHandler(params)
if (params.domainApp) {
console.log('Delete domain app..')
Expand Down
2 changes: 0 additions & 2 deletions internal/e2e-realtime-api/src/voice.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import {
makeSipDomainAppAddress,
} from './utils'

tap.setTimeout(60_000)

const handler: TestHandler = ({ domainApp }) => {
if (!domainApp) {
throw new Error('Missing domainApp')
Expand Down
2 changes: 1 addition & 1 deletion scripts/sw-test/runNodeScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const getScriptOptions = (pathname, config) => {

if (
fs.lstatSync(itemPath).isFile() &&
item.includes('.test.') &&
normalizedPath.includes('.test.') &&
!ignoreFiles.includes(normalizedPath)
) {
acc.push({
Expand Down

0 comments on commit d3c22bd

Please sign in to comment.