diff options
author | Stefano Chiesa <ssuryant@cisco.com> | 2016-09-22 17:38:26 -0700 |
---|---|---|
committer | Miroslav Miklus <mmiklus@cisco.com> | 2016-09-26 07:22:04 +0000 |
commit | 7a7c287a0ad1e88dcdb8e41762d9dd31023252c8 (patch) | |
tree | 5a39908dfcd5d669ce9bf829687a6bdad0bf1f89 | |
parent | 40d7e3b74c92f634c345192e87c2c50705c31eb6 (diff) |
Fix drop rate search for worst of n
Change-Id: Ie98ab1095dedb4c24dbd44f64d3781934f664561
Signed-off-by: Stefano Chiesa <ssuryant@cisco.com>
-rw-r--r-- | resources/libraries/python/DropRateSearch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/DropRateSearch.py b/resources/libraries/python/DropRateSearch.py index 6346125592..aead532da0 100644 --- a/resources/libraries/python/DropRateSearch.py +++ b/resources/libraries/python/DropRateSearch.py @@ -355,7 +355,7 @@ class DropRateSearch(object): :rtype: boolean """ # Return False if not all elements of the iterable are True. - return not all(res_list) + return all(res_list) def _get_res_based_on_search_type(self, res_list): """Return result of search based on search evaluation type. |