Skip to content

Commit

Permalink
Extend timeout for generating tutorial dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Sep 21, 2024
1 parent 60be45b commit 0af99a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/puppeteer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type BrowserTestOutput = {
}

const beforeStartTimeout = 2 * 60 * 1000 // Wait 2 minutes for Electron to open
const protocolTimeout = 10 * 60 * 1000 // Creating the test dataset can take up to 10 minutes (mostly for Windows)
const protocolTimeout = 15 * 60 * 1000 // Creating the test dataset can take up to 15 minutes (mostly for Windows)

export const connect = () => {

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tutorial.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('E2E Test', () => {

// Wait up to 10 minutes for dataset generation
// Both the test timeout and the protocolTimeout on puppeteer.connect() must be set to 10 min
datasetTestFunction('Create tutorial dataset', { timeout: 10 * 60 * 1000 }, async () => {
datasetTestFunction('Create tutorial dataset', { timeout: 15 * 60 * 1000 }, async () => {

await evaluate(async () => {

Expand Down

0 comments on commit 0af99a3

Please sign in to comment.