Skip to content

Commit 925a159

Browse files
committed
sync remote disk after copying workspace
1 parent fa32222 commit 925a159

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sync remote disk after copying workspace on Remote host.

testplan/common/remote/remote_resource.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,10 @@ def _prepare_workspace(self, exist_on_remote: bool) -> None:
507507
remote_target=True,
508508
exclude=self.cfg.workspace_exclude,
509509
)
510+
self._ssh_client.exec_command(
511+
cmd="/usr/bin/sync",
512+
label="sync remote disk after copying workspace",
513+
)
510514

511515
if IS_WIN:
512516
return

0 commit comments

Comments
 (0)