Compare commits

...

2 Commits

Author SHA1 Message Date
Meghan Denny
5841409d34 this was the only one that failed 2025-11-28 20:30:08 -08:00
Meghan Denny
b41ad25e0c test: this harness TODO is obsolete 2025-11-28 19:42:24 -08:00
2 changed files with 3 additions and 8 deletions

View File

@@ -870,12 +870,6 @@ export function isDockerEnabled(): boolean {
}
return false;
}
// TODO: investigate why Docker tests are not working on Linux arm64
if (isLinux && process.arch === "arm64") {
return false;
}
try {
const info = execSync(`"${dockerCLI}" info`, { stdio: ["ignore", "pipe", "inherit"] });
return info.toString().indexOf("Server Version:") !== -1;
@@ -886,6 +880,7 @@ export function isDockerEnabled(): boolean {
return false;
}
}
export async function waitForPort(port: number, timeout: number = 60_000): Promise<void> {
let deadline = Date.now() + Math.max(1, timeout);
let error: unknown;

View File

@@ -1,5 +1,5 @@
import { afterAll, beforeAll, describe, expect, it } from "bun:test";
import { isDockerEnabled } from "harness";
import { isArm64, isDockerEnabled, isLinux } from "harness";
import * as dockerCompose from "../../../docker/index.ts";
let url: string = "";
@@ -28,7 +28,7 @@ async function load() {
return true;
}
describe.skipIf(!isDockerEnabled())("autobahn", () => {
describe.skipIf(!isDockerEnabled()).todoIf(isLinux && isArm64)("autobahn", () => {
let wsOptions: any;
beforeAll(async () => {