File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3276,9 +3276,11 @@ def test_missing_replication_permission(self):
3276
3276
"\n Output: {0} \n CMD: {1}" .format (
3277
3277
repr (self .output ), self .cmd ))
3278
3278
except ProbackupException as e :
3279
- self .assertIn (
3280
- "FATAL: must be superuser or replication role to start walsender" ,
3279
+ # 9.5: ERROR: must be superuser or replication role to run a backup
3280
+ # >=9.6: FATAL: must be superuser or replication role to start walsender
3281
+ self .assertRegex (
3281
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" ,
3282
3284
"\n Unexpected Error Message: {0}\n CMD: {1}" .format (
3283
3285
repr (e .message ), self .cmd ))
3284
3286
You can’t perform that action at this time.
0 commit comments