Add junitOutput flag to virtlet tests
- Also get JUnit output for it
Change-Id: I29ad71b317743754520acdce9895faebc1bd6af4
diff --git a/tcp_tests/fixtures/k8s_fixtures.py b/tcp_tests/fixtures/k8s_fixtures.py
index fe744ec..6cc2721 100644
--- a/tcp_tests/fixtures/k8s_fixtures.py
+++ b/tcp_tests/fixtures/k8s_fixtures.py
@@ -93,7 +93,8 @@
if hasattr(request.node, 'rep_call') and \
(request.node.rep_call.passed or request.node.rep_call.failed)\
and grab_virtlet_result:
- artifact_name = utils.extract_name_from_mark(grab_virtlet_result) \
+ files = utils.extract_name_from_mark(grab_virtlet_result) \
or "{}".format(func_name)
- k8s_deployed.download_virtlet_conformance_log(artifact_name)
+ k8s_deployed.extract_file_to_node()
+ k8s_deployed.download_virtlet_conformance_log(files)
request.addfinalizer(test_fin)