diff --git a/tests/bluesky-pds/_p4.py b/tests/bluesky-pds/_p4.py index 29b2c74..165353d 100644 --- a/tests/bluesky-pds/_p4.py +++ b/tests/bluesky-pds/_p4.py @@ -37,7 +37,7 @@ def _goat_admin(domain: str, args: str) -> str: f'--admin-password "$(cat /run/secrets/pds_admin_password)" ' f"--pds-host {PDS_HOST_LOCAL} 2>&1" ) - return lifecycle.exec_in_app(domain, ["sh", "-c", cmd], timeout=120) + return lifecycle.exec_in_app(domain, ["sh", "-c", cmd], service="pds", timeout=120) def account_did(domain: str) -> str | None: diff --git a/tests/bluesky-pds/custom/test_account_and_post.py b/tests/bluesky-pds/custom/test_account_and_post.py index ea8604f..42a99ac 100644 --- a/tests/bluesky-pds/custom/test_account_and_post.py +++ b/tests/bluesky-pds/custom/test_account_and_post.py @@ -46,7 +46,7 @@ def _in_container(domain: str, shell_cmd: str) -> str: """Run `shell_cmd` inside the PDS app container via exec_in_app (sh -c wrapper).""" # The admin_pw_flag uses $(cat ...) which only the sh inside the container can expand — # callers pass the raw shell command including those substitutions. - return lifecycle.exec_in_app(domain, ["sh", "-c", shell_cmd], timeout=120) + return lifecycle.exec_in_app(domain, ["sh", "-c", shell_cmd], service="pds", timeout=120) def _goat_admin(domain: str, args: str) -> str: