Skip to content

Commit 063ddf2

Browse files
committed
Ensure that the number of iterations does not increase.
1 parent 9facc26 commit 063ddf2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

TestCases/TestCase.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,8 @@ def run_def(self):
852852

853853
def adjust_iter(self, running_with_tsan=False):
854854

855-
if not running_with_tsan:
856-
new_iter = self.test_iter + 1
857-
else:
855+
new_iter = self.test_iter + 1
856+
if running_with_tsan and new_iter > 2:
858857
new_iter = 2
859858

860859
# Read the cfg file

0 commit comments

Comments
 (0)