From ae276c5401819a2deb7864bb92770884e40f0c32 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Mon, 5 Aug 2019 12:06:06 -0400 Subject: [PATCH] python does not have ++, use +=1 --- tests/nodeos_under_min_avail_ram.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/nodeos_under_min_avail_ram.py b/tests/nodeos_under_min_avail_ram.py index 57f51beafe4..e97f42abac4 100755 --- a/tests/nodeos_under_min_avail_ram.py +++ b/tests/nodeos_under_min_avail_ram.py @@ -197,7 +197,8 @@ def setName(self, num): allDone=False if not allDone: time.sleep(5) - if ++count>5: + count+=1 + if count>5: Utils.cmdError("All Nodes should have died") errorExit("Failure - All Nodes should have died")