Skip to content

Commit

Permalink
fix(test) enable minio in s3.test.ts (#16298)
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari authored Jan 17, 2025
1 parent ec11ea4 commit 6cdcb1c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/js/bun/s3/s3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ const allCredentials = [
},
];

// TODO: figure out why minio is not creating a bucket on Linux, works on macOS and windows
if (isDockerEnabled() && !isLinux) {
if (isDockerEnabled()) {
const minio_dir = tempDirWithFiles("minio", {});
const result = child_process.spawnSync(
"docker",
Expand Down Expand Up @@ -70,7 +69,7 @@ if (isDockerEnabled() && !isLinux) {
await Bun.sleep(1_000);

/// create a bucket
child_process.spawnSync(dockerCLI, [`exec`, `minio`, `mc`, `mb`, `http://localhost:9000/buntest`], {
child_process.spawnSync(dockerCLI, [`exec`, `minio`, `mc`, `mb`, `data/buntest`], {
stdio: "ignore",
});

Expand Down

0 comments on commit 6cdcb1c

Please sign in to comment.