Fix in Rally HTML Charts
For duplicate atomic actions which occur more than 2 times in an iteration, multiple line charts were getting generated because of a bug in the code. This patch fixes the bug. Change-Id: I447aad984d026e3ade10e9558ff31c0e8c789503
This commit is contained in:
parent
a1e5b464a0
commit
69bea65838
@ -36,13 +36,13 @@ class AtomicActionsDurationDataProcessor:
|
||||
:returns: list of strings representing duplicate action names
|
||||
"""
|
||||
actions_set = set()
|
||||
duplicate_actions_list = []
|
||||
duplicate_actions_set = set()
|
||||
for action in atomic_actions:
|
||||
if action["name"] not in actions_set:
|
||||
actions_set.add(action["name"])
|
||||
else:
|
||||
duplicate_actions_list.append(action["name"])
|
||||
return duplicate_actions_list
|
||||
duplicate_actions_set.add(action["name"])
|
||||
return list(duplicate_actions_set)
|
||||
|
||||
def process_atomic_action_additive_data(self, action_name, atomic_actions):
|
||||
"""Generate duration data in additive format for aggregate chart
|
||||
|
Loading…
Reference in New Issue
Block a user