Skip to content

Commit db71db2

Browse files
committed
test(integ): keep the shared Spark test jar after the pipeline test
The `build_jar` fixture in the workflow processing tests deleted `hello-spark-java.jar` at teardown. Under xdist, `test_sagemaker_pyspark_v3` in another worker then failed with `code .../hello-spark-java.jar wasn't found` in 2 of the last 3 `integ-tests` jobs. The two modules build the jar in place, so the teardown is not necessary. --- X-AI-Prompt: Can you make the integ tests pass in the pull request hook? X-AI-Tool: claude-code
1 parent d986ddb commit db71db2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎tests/integ/sagemaker/workflow/test_processing_steps.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ def build_jar():
176176
".",
177177
]
178178
)
179-
yield
180-
subprocess.run(["rm", os.path.join(jar_file_path, "hello-spark-java.jar")])
181-
subprocess.run(["rm", os.path.join(jar_file_path, java_file_path, "HelloJavaSparkApp.class")])
182179

183180

184181
@pytest.fixture

0 commit comments

Comments
 (0)