Skip to content

Commit

Permalink
Update python dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Jul 29, 2024
1 parent a7cd0be commit 12201e4
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 244 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 12201e4

Please sign in to comment.