Minor fixes for test_k8s_chain_update
Fix downloading path of combined xml report and
add sleep() to prevent network collapse on ctl01
Change-Id: If9a3f275a5ac8d74660b90fd981937f2d1d69e3b
Related-PROD: PROD-20720
diff --git a/tcp_tests/fixtures/k8s_fixtures.py b/tcp_tests/fixtures/k8s_fixtures.py
index 7ec1a19..08176fc 100644
--- a/tcp_tests/fixtures/k8s_fixtures.py
+++ b/tcp_tests/fixtures/k8s_fixtures.py
@@ -179,14 +179,15 @@
for version in chain_versions:
container_name = "k8s-conformance:{}".format(version)
tmp_report_dir = "/root/report_{}".format(version)
- report_path = "/root/report_{}.xml".format(version)
+ report_path = "report_{}.xml".format(version)
conformance_log_path = "k8s_conformance_{}.log".format(version)
k8s_deployed.extract_file_to_node(
system='docker', container=container_name,
out_dir=tmp_report_dir, file_path='report'
)
- k8s_deployed.combine_xunit(tmp_report_dir, report_path)
+ k8s_deployed.combine_xunit(tmp_report_dir,
+ '/root/{}'.format(report_path))
k8s_deployed.download_k8s_logs(
[report_path, conformance_log_path])