Skip to content

Commit a1f7d7b

Browse files
rubenfiszelclaude
andcommitted
fix: windows volume mount symlinks for integration tests
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9a6ce44 commit a1f7d7b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

backend/ee-repo-ref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
878cc2044717e0177228529a50433fe2768e70b5
1+
06a848ab04e3f43978b92f0ceee019e9e2fe50f1

backend/tests/volume_tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -571,16 +571,16 @@ async fn test_volume_sql_worker_e2e(db: Pool<Postgres>) -> anyhow::Result<()> {
571571
std::fs::write(vol_dir.join("hello.txt"), b"hello from volume")?;
572572

573573
// 3. Push the job and run with SQL-connected worker
574-
let code = r#"// volume: test-vol /tmp/data
574+
let code = r#"// volume: test-vol data
575575
576576
import { readFileSync, writeFileSync, existsSync } from "fs";
577577
578578
export function main() {
579-
const content = readFileSync("/tmp/data/hello.txt", "utf-8");
580-
writeFileSync("/tmp/data/output.txt", "written by sql worker");
579+
const content = readFileSync("data/hello.txt", "utf-8");
580+
writeFileSync("data/output.txt", "written by sql worker");
581581
return {
582582
read_content: content,
583-
output_exists: existsSync("/tmp/data/output.txt"),
583+
output_exists: existsSync("data/output.txt"),
584584
};
585585
}"#;
586586

0 commit comments

Comments
 (0)