We need to 'current transaction is aborted' errors within
DatabasePermutationTest to allow all permutations to run and to
not generate false failures.
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):