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 parent873d594 commit6bf0013Copy full SHA for 6bf0013
tests/backup.py
@@ -3276,9 +3276,11 @@ def test_missing_replication_permission(self):
3276
"\n Output: {0}\n CMD: {1}".format(
3277
repr(self.output),self.cmd))
3278
exceptProbackupExceptionase:
3279
-self.assertIn(
3280
-"FATAL: must be superuser or replication role to start walsender",
+# 9.5: ERROR: must be superuser or replication role to run a backup
+# >=9.6: FATAL: must be superuser or replication role to start walsender
3281
+self.assertRegex(
3282
e.message,
3283
+"ERROR: must be superuser or replication role to run a backup|FATAL: must be superuser or replication role to start walsender",
3284
"\n Unexpected Error Message: {0}\n CMD: {1}".format(
3285
repr(e.message),self.cmd))
3286