diff options
Diffstat (limited to 'yardstick/network_services/traffic_profile/prox_binsearch.py')
-rw-r--r-- | yardstick/network_services/traffic_profile/prox_binsearch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yardstick/network_services/traffic_profile/prox_binsearch.py b/yardstick/network_services/traffic_profile/prox_binsearch.py index f98b1e59e..385702b75 100644 --- a/yardstick/network_services/traffic_profile/prox_binsearch.py +++ b/yardstick/network_services/traffic_profile/prox_binsearch.py @@ -86,8 +86,8 @@ class ProxBinSearchProfile(ProxProfile): # throughput and packet loss from the most recent successful test successful_pkt_loss = 0.0 for test_value in self.bounds_iterator(LOG): - result = traffic_gen.resource_helper.run_test(pkt_size, duration, - test_value, self.tolerated_loss) + result, port_samples = traffic_gen.run_test(pkt_size, duration, + test_value, self.tolerated_loss) if result.success: LOG.debug("Success! Increasing lower bound") @@ -97,5 +97,5 @@ class ProxBinSearchProfile(ProxProfile): LOG.debug("Failure... Decreasing upper bound") self.current_upper = test_value - samples = result.get_samples(pkt_size, successful_pkt_loss) + samples = result.get_samples(pkt_size, successful_pkt_loss, port_samples) self.queue.put(samples) |