Skip to content

Commit

Permalink
Total hack but seems to prevent crash
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed May 15, 2024
1 parent 5288a11 commit aff6caf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions measures/UpgradeCosts/measure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def run(runner, user_arguments)

# Retrieve values from ApplyUpgrade, ReportHPXMLOutput
values = {}
# FIXME: this is total hack, but it prevents the segfault on the next line
runner.workflow
apply_upgrade = runner.getPastStepValuesForMeasure('apply_upgrade') # FIXME: this causes a segfault for some reason
values['apply_upgrade'] = Hash[apply_upgrade.collect { |k, v| [k.to_s, v] }]
# values['apply_upgrade'] = get_values_from_runner_past_results(runner, 'apply_upgrade')
Expand Down

0 comments on commit aff6caf

Please sign in to comment.