File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -980,15 +980,17 @@ def test_archive_replica_not_null_offset(self):
980980 "\n Output: {0} \n CMD: {1}" .format (
981981 repr (self .output ), self .cmd ))
982982 except ProbackupException as e :
983- self .assertIn (
984- 'LOG: Looking for LSN 0/4000060 in segment: 000000010000000000000004' ,
983+ # vanilla -- 0/4000060
984+ # pgproee -- 0/4000078
985+ self .assertRegex (
985986 e .message ,
987+ r'LOG: Looking for LSN (0/4000060|0/4000078) in segment: 000000010000000000000004' ,
986988 "\n Unexpected Error Message: {0}\n CMD: {1}" .format (
987989 repr (e .message ), self .cmd ))
988990
989- self .assertIn (
990- 'INFO: Wait for LSN 0/4000060 in archived WAL segment' ,
991+ self .assertRegex (
991992 e .message ,
993+ r'INFO: Wait for LSN (0/4000060|0/4000078) in archived WAL segment' ,
992994 "\n Unexpected Error Message: {0}\n CMD: {1}" .format (
993995 repr (e .message ), self .cmd ))
994996
You can’t perform that action at this time.
0 commit comments