[static-build] Fix running of e2e tests (#11518)

We accidentally committed a change which prevented the static-build e2e
tests, so fixing that.

Also reverting a change from https://github.com/vercel/vercel/pull/11497
which was causing issues with Ruby-based static site generators when
using the AL2 build image.
This commit is contained in:
Nathan Rajlich
2024-04-30 12:57:25 -07:00
committed by GitHub
parent 5eb4cc6f5d
commit f11c7024c4
3 changed files with 4 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
---
---

View File

@@ -48,7 +48,7 @@ import {
import { getHugoUrl } from './utils/hugo'; import { getHugoUrl } from './utils/hugo';
import { once } from 'events'; import { once } from 'events';
const SUPPORTED_RUBY_VERSION = '3.3.0'; const SUPPORTED_RUBY_VERSION = '3.2.0';
const sleep = (n: number) => new Promise(resolve => setTimeout(resolve, n)); const sleep = (n: number) => new Promise(resolve => setTimeout(resolve, n));
const DEV_SERVER_PORT_BIND_TIMEOUT = ms('5m'); const DEV_SERVER_PORT_BIND_TIMEOUT = ms('5m');

View File

@@ -40,9 +40,8 @@ module.exports = function setupTests(groupIndex) {
const fixturesToSkip = []; const fixturesToSkip = [];
// console.log(fixtures);
// eslint-disable-next-line no-restricted-syntax // eslint-disable-next-line no-restricted-syntax
for (const fixture of ['vitepress-2']) { for (const fixture of fixtures) {
if (fixturesToSkip.includes(fixture)) { if (fixturesToSkip.includes(fixture)) {
continue; continue;
} }