Skip to content

Commit

Permalink
Merge pull request #1435 from perfsonar/issue-1411
Browse files Browse the repository at this point in the history
Fetch reverse throughput from other participant in reverse tests.  #1411
  • Loading branch information
mfeit-internet2 authored May 27, 2024
2 parents d5fa42f + db9bc02 commit 2907e8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pscheduler-tool-iperf3/iperf3/merged-results
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ final_results = source_results

if input['test']['spec'].get('reverse') and not (single_ended or loopback):
final_results = dest_results
# This has to be copied in manually since the 'source' side in a reverse
# test is the receiver.
final_results['summary']['summary']['receiver-throughput-bits'] \
= source_results['summary']['summary']['receiver-throughput-bits']

# it's possible one could come back as null, ensure we have the right type
if not final_results:
Expand Down

0 comments on commit 2907e8c

Please sign in to comment.