Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix intermittent timeouts in osx test runners #6007

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

mrstork
Copy link
Contributor

@mrstork mrstork commented Jan 7, 2025

Summary

Fixes FRB-1555
OSX has less memory than the other test runners and the tests seem to be crawling to a halt when running with any concurrency. This update forces the tests to be run serially (no concurrency) on osx runners, but only in GithubActions (we didn't want to affect local development)

@mrstork mrstork requested a review from a team as a code owner January 7, 2025 16:23
Copy link
Contributor

github-actions bot commented Jan 7, 2025

This pull request adds or modifies JavaScript (.js, .cjs, .mjs) files.
Consider converting them to TypeScript.

@@ -60,12 +60,6 @@ jobs:
deno-version: 'v1.46.3'
fail-fast: false
steps:
# Increasing the maximum number of open files. See:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, these steps don't seem to be relevant any longer

@@ -4,6 +4,7 @@ import { normalize, delimiter } from 'path'
import { env } from 'process'
import { fileURLToPath } from 'url'

import { default as build, startDev } from '@netlify/build'
Copy link
Contributor Author

@mrstork mrstork Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, hoisting the build import instead of asynchronously importing it since all fixtures use it anyhow

@mrstork mrstork merged commit eee459c into main Jan 7, 2025
33 checks passed
@mrstork mrstork deleted the intermittent-timeouts-osx branch January 7, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants