Fix drop rate search for worst of n 19/3119/2
authorStefano Chiesa <ssuryant@cisco.com>
Fri, 23 Sep 2016 00:38:26 +0000 (17:38 -0700)
committerMiroslav Miklus <mmiklus@cisco.com>
Mon, 26 Sep 2016 07:22:04 +0000 (07:22 +0000)
Change-Id: Ie98ab1095dedb4c24dbd44f64d3781934f664561
Signed-off-by: Stefano Chiesa <ssuryant@cisco.com>
resources/libraries/python/DropRateSearch.py

index 6346125..aead532 100644 (file)
@@ -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.

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.