Skip to content

Commit

Permalink
Fix HTCondor unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
giffels committed May 25, 2022
1 parent df02c33 commit 3a8ee41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,4 @@ Fixed
* Improved logging of the `HTCondor` batch system adapter and the status changes of the drones
* Fix the handling of the termination of vanished resources
* Fix state transitions for jobs retried by HTCondor
* Fix state transitions and refactoring of the SLURM site adapter
5 changes: 3 additions & 2 deletions tests/adapters_t/sites_t/test_htcondorsiteadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
request_memory=32768
request_disk=167772160
queue 1""" # noqa: B950
queue 1
""" # noqa: B950

CONDOR_SUBMIT_JDL_SPARK_OBS = """executable = start_pilot.sh
transfer_input_files = setup_pilot.sh
Expand Down Expand Up @@ -263,7 +264,7 @@ def test_deploy_resource_htcondor_obs(self):
kwargs["stdin_input"],
CONDOR_SUBMIT_PER_ARGUMENTS_JDL_CONDOR_OBS,
)
self.mock_executor.reset()
self.mock_executor.reset_mock()

def test_translate_resources_raises_logs(self):
self.adapter = HTCondorAdapter(
Expand Down

0 comments on commit 3a8ee41

Please sign in to comment.