aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar apolcyn <apolcyn@google.com>2017-02-03 13:40:36 -0800
committerGravatar GitHub <noreply@github.com>2017-02-03 13:40:36 -0800
commit50fbf5b6fef08ada6912c3320a8842aae5d22743 (patch)
treeeae93f6e6e07a91c7a012e417d23db6e7f677fc8
parent1d0eb4c89a22ea62ffee83da2b16448c29d22fbe (diff)
parent41fe579c6d2301bd6a6b51cd8d03c800ff4e9dcd (diff)
Merge pull request #9563 from apolcyn/fix_perf_test_render_xml_report
always render junit xml report after perf tests
-rwxr-xr-xtools/run_tests/run_performance_tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/run_tests/run_performance_tests.py b/tools/run_tests/run_performance_tests.py
index 12b5e01508..e47c9a40d1 100755
--- a/tools/run_tests/run_performance_tests.py
+++ b/tools/run_tests/run_performance_tests.py
@@ -591,12 +591,13 @@ if perf_cmd and not args.skip_generate_flamegraphs:
# write the index fil to the output dir, with all profiles from all scenarios/workers
report_utils.render_perf_profiling_results('%s/index.html' % args.flame_graph_reports, profile_output_files)
+report_utils.render_junit_xml_report(merged_resultset, args.xml_report,
+ suite_name='benchmarks')
+
if total_scenario_failures > 0 or qps_workers_killed > 0:
print('%s scenarios failed and %s qps worker jobs killed' % (total_scenario_failures, qps_workers_killed))
sys.exit(1)
-report_utils.render_junit_xml_report(merged_resultset, args.xml_report,
- suite_name='benchmarks')
if perf_report_failures > 0:
print('%s perf profile collection jobs failed' % perf_report_failures)
sys.exit(1)