Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Dec 19, 2024
1 parent 4483ca3 commit 6098d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _compute(
)
finally:
logger.info(f"Removing launch {job_id} export path at {export_path}")
shutil.rmtree(export_path)
shutil.rmtree(export_path, ignore_errors=True)

def _import_launcher_logs(self, job_id: str) -> Dict[str, List[Path]]:
logs_path = self.log_directory / job_id
Expand Down
2 changes: 1 addition & 1 deletion tests/launcher/test_local_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def launcher_config(tmp_path: Path) -> Config:
Fixture to create a launcher config with a local launcher.
"""
solver_path = tmp_path.joinpath(SOLVER_NAME)
data = {"binaries": {"700": solver_path}, "enable_nb_cores_detection": True}
data = {"binaries": {"700": solver_path}, "enable_nb_cores_detection": True, "local_workspace": tmp_path}
return Config(launcher=LauncherConfig(local=LocalConfig.from_dict(data)))


Expand Down

0 comments on commit 6098d99

Please sign in to comment.