Skip to content

Commit

Permalink
disable arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Jan 10, 2025
1 parent 8549952 commit 3d6ba4f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/js/web/websocket/autobahn.test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
import { which } from "bun";
import { afterAll, describe, expect, it } from "bun:test";
import child_process from "child_process";
import { tempDirWithFiles } from "harness";

import { tempDirWithFiles, isLinux } from "harness";
const dockerCLI = which("docker") as string;
function isDockerEnabled(): boolean {
if (!dockerCLI) {
return false;
}

// TODO: investigate why its not starting on Linux arm64
if (isLinux && process.arch === "arm64") {
return false;
}

try {
const info = child_process.execSync(`${dockerCLI} info`, { stdio: ["ignore", "pipe", "inherit"] });
return info.toString().indexOf("Server Version:") !== -1;
Expand Down

0 comments on commit 3d6ba4f

Please sign in to comment.