misc tidyings from another branch (#24406)

pulled out of https://github.com/oven-sh/bun/pull/21809

- brings the ASAN behavior on linux closer in sync with macos
- fixes some tests to also pass in node

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Meghan Denny
2025-11-05 15:28:28 -08:00
committed by GitHub
parent 1d4e3c0ab2
commit f4404a55db
31 changed files with 81 additions and 142 deletions

View File

@@ -81,6 +81,7 @@ function getNodeParallelTestTimeout(testPath) {
return 90_000;
}
if (!isCI) return 60_000; // everything slower in debug mode
if (options["step"]?.includes("-asan-")) return 60_000;
return 20_000;
}
@@ -1579,8 +1580,7 @@ function isJavaScriptTest(path) {
* @returns {boolean}
*/
function isNodeTest(path) {
// Do not run node tests on macOS x64 in CI
// TODO: Unclear why we decided to do this?
// Do not run node tests on macOS x64 in CI, those machines are slow and expensive.
if (isCI && isMacOS && isX64) {
return false;
}