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

minor ux improvement #1161

Merged
merged 1 commit into from
Dec 12, 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: 3 additions & 3 deletions testplan/common/remote/remote_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ def _define_remote_dirs(self) -> None:
self._remote_plan_runpath,
)
self.logger.info(
"%s remote runpath = %s", self, self._remote_resource_runpath
"%s: remote runpath = %s", self, self._remote_resource_runpath
)
self._working_dirs.local = pwd()
self._working_dirs.remote = self._remote_working_dir()
self.logger.info(
"%s remote working path = %s", self, self._working_dirs.remote
"%s: remote working path = %s", self, self._working_dirs.remote
)

def _remote_working_dir(self) -> None:
Expand Down Expand Up @@ -590,7 +590,7 @@ def _fetch_results(self) -> None:

def _clean_remote(self) -> None:
if self.cfg.clean_remote:
self.logger.debug(
self.logger.user_info(
"Clean root runpath on remote host - %s", self.ssh_cfg["host"]
)

Expand Down
5 changes: 4 additions & 1 deletion testplan/runnable/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,10 @@ def make_runpath_dirs(self):
)

self.logger.user_info(
"Testplan has runpath: %s and pid %s", self._runpath, os.getpid()
"Testplan[%s] has runpath: %s and pid %s",
self.cfg.name,
self._runpath,
os.getpid(),
)

self._scratch = os.path.join(self._runpath, "scratch")
Expand Down
Loading