We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenteba6fb0 commit44dce6fCopy full SHA for 44dce6f
tests/python/partitioning_test.py
@@ -752,10 +752,15 @@ def test_concurrent_detach(self):
752
753
# Obtain error log from inserts process
754
inserts_errors=inserts.stderr.read()
755
-
756
-self.assertIsNone(
757
-re.search("ERROR: constraint",inserts_errors),
758
-msg="Race condition between detach and concurrent inserts with append partition is expired")
+expected_errors= ('starting vacuum...ERROR: relation "pgbench_branches" does not exist\n'
+'(ignoring this error and continuing anyway)\n'
+'ERROR: relation "pgbench_tellers" does not exist\n'
759
+'ERROR: relation "pgbench_history" does not exist\n'
760
761
+'end.\n')
762
+self.assertEqual(inserts_errors,expected_errors,
763
+msg="Race condition between detach and concurrent inserts with append partition is expired")
764
765
# Stop instance and finish work
766
node.stop()