Skip to content

Commit

Permalink
Merge pull request #2498 from IntersectMBO/update_python_deps2
Browse files Browse the repository at this point in the history
Update python dependencies
  • Loading branch information
mkoura committed Jul 29, 2024
2 parents 31e89cb + a1b5151 commit dcb8616
Show file tree
Hide file tree
Showing 5 changed files with 368 additions and 382 deletions.
6 changes: 4 additions & 2 deletions cardano_node_tests/cluster_management/cluster_getter.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _respin(self, start_cmd: str = "", stop_cmd: str = "") -> bool: # noqa: C90
netstat_out,
)
if not configuration.IS_XDIST:
pytest.exit(msg="Failed to start cluster", returncode=1)
pytest.exit(reason="Failed to start cluster", returncode=1)
(self.instance_dir / common.CLUSTER_DEAD_FILE).touch()
return False

Expand Down Expand Up @@ -274,7 +274,9 @@ def _respin(self, start_cmd: str = "", stop_cmd: str = "") -> bool: # noqa: C90
excp,
)
if not configuration.IS_XDIST:
pytest.exit(msg=f"Failed to setup test addresses, exception: {err}", returncode=1)
pytest.exit(
reason=f"Failed to setup test addresses, exception: {err}", returncode=1
)
(self.instance_dir / common.CLUSTER_DEAD_FILE).touch()
return False

Expand Down
2 changes: 1 addition & 1 deletion cardano_node_tests/pytest_plugins/xdist_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _assign_work_unit(self, node: workermanage.WorkerController) -> None:
"""Assign a work unit to a node."""
assert self.workqueue

assigned_to_node = self.assigned_work.setdefault(node, default=collections.OrderedDict())
assigned_to_node = self.assigned_work.setdefault(node, collections.OrderedDict())
scope, work_unit = None, None

# check if there are any long-running tests already pending
Expand Down
Loading

0 comments on commit dcb8616

Please sign in to comment.