From: Stefano Chiesa Date: Fri, 23 Sep 2016 00:38:26 +0000 (-0700) Subject: Fix drop rate search for worst of n X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=7a7c287a0ad1e88dcdb8e41762d9dd31023252c8 Fix drop rate search for worst of n Change-Id: Ie98ab1095dedb4c24dbd44f64d3781934f664561 Signed-off-by: Stefano Chiesa --- 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.