From 1b2a15aff7766a4c2f9dbd352077e69d2f84f9b3 Mon Sep 17 00:00:00 2001 From: Kevin Grittner Date: Mon, 15 Nov 2010 15:32:13 -0600 Subject: [PATCH] Fix bug in pg_dtester.py.in under dtester 0.2. We need to 'current transaction is aborted' errors within DatabasePermutationTest to allow all permutations to run and to not generate false failures. --- src/test/regress/pg_dtester.py.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/regress/pg_dtester.py.in b/src/test/regress/pg_dtester.py.in index 8dba68631d..f9a3f191dd 100644 --- a/src/test/regress/pg_dtester.py.in +++ b/src/test/regress/pg_dtester.py.in @@ -654,7 +654,9 @@ class DatabasePermutationTest(PermutationTest): if len(line) > 0 and line.startswith("ERROR: could not serialize"): self.serializationFailure = True else: - if len(line) > 0 and line.startswith("ERROR:"): + if (len(line) > 0 + and line.startswith("ERROR:") + and not line.startswith("ERROR: current transaction is aborted")): raise TestFailure("failure other than serializable encountered: " + line, line) def printStatistics(self): -- 2.39.5