Skip to content

Commit

Permalink
[static-build] Fix running of e2e tests (#11518)
Browse files Browse the repository at this point in the history
We accidentally committed a change which prevented the static-build e2e
tests, so fixing that.

Also reverting a change from #11497
which was causing issues with Ruby-based static site generators when
using the AL2 build image.
  • Loading branch information
TooTallNate committed Apr 30, 2024
1 parent 5eb4cc6 commit f11c702
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .changeset/lovely-apricots-repeat.md
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/static-build/src/index.ts
Expand Up @@ -48,7 +48,7 @@ import {
import { getHugoUrl } from './utils/hugo';
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 DEV_SERVER_PORT_BIND_TIMEOUT = ms('5m');
Expand Down
3 changes: 1 addition & 2 deletions packages/static-build/test/integration-setup.js
Expand Up @@ -40,9 +40,8 @@ module.exports = function setupTests(groupIndex) {

const fixturesToSkip = [];

// console.log(fixtures);
// eslint-disable-next-line no-restricted-syntax
for (const fixture of ['vitepress-2']) {
for (const fixture of fixtures) {
if (fixturesToSkip.includes(fixture)) {
continue;
}
Expand Down

0 comments on commit f11c702

Please sign in to comment.