Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ suite(`Performance ${thresholds.join("/")} ms`, async function () {
// Before each test, print the test title. This is done so we have the test
// title before the test run time / duration.
this.beforeEach(function () {
// FIXME: This test is flaky on Mac CI, so we skip it there for now
if (isCI() && isMac()) {
this.skip();
return;
}

const title = this.currentTest!.title;
if (title !== previousTitle) {
console.log(` ${title}`);
Expand Down Expand Up @@ -261,13 +267,8 @@ function generateTestData(n: number): string {

function calculateMultiplier() {
// The GitHub test runner is generally slower than running tests locally, so
// we increase the thresholds in CI. We do this for all platforms, but
// especially for macOS since the GitHub test runner for macOS is particularly
// slow.
// we increase the thresholds in CI.
if (isCI()) {
if (isMac()) {
return 3;
}
return 2;
}
return 1;
Expand Down
Loading