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")