From dc2b3437bdf7c2d78cfec2e03bc0770bc015d866 Mon Sep 17 00:00:00 2001 From: Steven Li Date: Mon, 27 Apr 2020 01:58:05 -0700 Subject: [PATCH] Recreated the tscServer.c:312 crash --- tests/pytest/random_walk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pytest/random_walk.py b/tests/pytest/random_walk.py index 146066431d..bf714ba694 100755 --- a/tests/pytest/random_walk.py +++ b/tests/pytest/random_walk.py @@ -350,7 +350,7 @@ class DbState(): return "table_{}".format(tblNum) def getTableNameToDelete(self): - if self.tableNumQueue.isEmpty: + if self.tableNumQueue.isEmpty(): return False tblNum = self.tableNumQueue.pop() # TODO: race condition! return "table_{}".format(tblNum)