Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd4b75a

Browse files
committed
Adapt tests.replica.ReplicaTest.test_archive_replica_not_null_offset to pgpro enterprise edition
1 parenta4308f0 commitfd4b75a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎tests/replica.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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
exceptProbackupExceptionase:
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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp