From 7c79c248655f398b7c930a92813dee548d1193d2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Fri, 7 Apr 2017 16:33:24 +0100 Subject: [PATCH] rt-app: fix classifer update rt-app inserts its own classifiers into the results. Previosly, if was replacing the existing classifier if there were any. Now, classifiers are updated, rather than replaced. --- wlauto/workloads/rt_app/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wlauto/workloads/rt_app/__init__.py b/wlauto/workloads/rt_app/__init__.py index 7a094622..9bc492f7 100644 --- a/wlauto/workloads/rt_app/__init__.py +++ b/wlauto/workloads/rt_app/__init__.py @@ -178,10 +178,10 @@ class RtApp(Workload): def update_result(self, context): self._pull_rt_app_logs(context) - context.result.classifiers = dict( + context.result.classifiers.update(dict( duration=self.duration, task_count=self.task_count, - ) + )) outfile = os.path.join(context.output_directory, RAW_OUTPUT_FILENAME) with open(outfile, 'w') as wfh: