summaryrefslogtreecommitdiffstats
path: root/test/runner/lib/manage_ci.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/runner/lib/manage_ci.py')
-rw-r--r--test/runner/lib/manage_ci.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/runner/lib/manage_ci.py b/test/runner/lib/manage_ci.py
index b3bb0409d3..7ff7083e59 100644
--- a/test/runner/lib/manage_ci.py
+++ b/test/runner/lib/manage_ci.py
@@ -14,6 +14,7 @@ from lib.util import (
SubprocessError,
ApplicationError,
run_command,
+ intercept_command,
)
from lib.core_ci import (
@@ -51,7 +52,7 @@ class ManageWindowsCI(object):
for _ in range(1, 120):
try:
- run_command(self.core_ci.args, cmd, env=env)
+ intercept_command(self.core_ci.args, cmd, 'ping', env=env)
return
except SubprocessError:
sleep(10)
@@ -93,7 +94,7 @@ class ManageNetworkCI(object):
for _ in range(1, 90):
try:
- run_command(self.core_ci.args, cmd, env=env)
+ intercept_command(self.core_ci.args, cmd, 'ping', env=env)
return
except SubprocessError:
sleep(10)
@@ -161,7 +162,7 @@ class ManagePosixCI(object):
remote_source_path = os.path.join(remote_source_dir, os.path.basename(local_source_fd.name))
if not self.core_ci.args.explain:
- lib.pytar.create_tarfile(local_source_fd.name, '.', lib.pytar.ignore)
+ lib.pytar.create_tarfile(local_source_fd.name, '.', lib.pytar.DefaultTarFilter())
self.upload(local_source_fd.name, remote_source_dir)
self.ssh('rm -rf ~/ansible && mkdir ~/ansible && cd ~/ansible && tar oxzf %s' % remote_source_path)