Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python dependencies #2498

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading