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

Issue 439#440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kulaginm merged 2 commits intomasterfromissue_439
Oct 13, 2021
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletiontests/archive.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -83,6 +83,12 @@ def test_pgpro434_2(self):
pg_options={
'checkpoint_timeout': '30s'}
)

if self.get_version(node) < self.version_to_num('9.6.0'):
self.del_test_dir(module_name, fname)
return unittest.skip(
'Skipped because pg_control_checkpoint() is not supported in PG 9.5')

self.init_pb(backup_dir)
self.add_instance(backup_dir, 'node', node)
self.set_archiving(backup_dir, 'node', node)
Expand DownExpand Up@@ -693,6 +699,11 @@ def test_replica_archive(self):
'checkpoint_timeout': '30s',
'max_wal_size': '32MB'})

if self.get_version(master) < self.version_to_num('9.6.0'):
self.del_test_dir(module_name, fname)
return unittest.skip(
'Skipped because backup from replica is not supported in PG 9.5')

self.init_pb(backup_dir)
# ADD INSTANCE 'MASTER'
self.add_instance(backup_dir, 'master', master)
Expand DownExpand Up@@ -818,6 +829,12 @@ def test_master_and_replica_parallel_archiving(self):
pg_options={
'archive_timeout': '10s'}
)

if self.get_version(master) < self.version_to_num('9.6.0'):
self.del_test_dir(module_name, fname)
return unittest.skip(
'Skipped because backup from replica is not supported in PG 9.5')

replica = self.make_simple_node(
base_dir=os.path.join(module_name, fname, 'replica'))
replica.cleanup()
Expand DownExpand Up@@ -908,6 +925,11 @@ def test_basic_master_and_replica_concurrent_archiving(self):
'checkpoint_timeout': '30s',
'archive_timeout': '10s'})

if self.get_version(master) < self.version_to_num('9.6.0'):
self.del_test_dir(module_name, fname)
return unittest.skip(
'Skipped because backup from replica is not supported in PG 9.5')

replica = self.make_simple_node(
base_dir=os.path.join(module_name, fname, 'replica'))
replica.cleanup()
Expand DownExpand Up@@ -2009,6 +2031,11 @@ def test_archive_pg_receivexlog_partial_handling(self):
set_replication=True,
initdb_params=['--data-checksums'])

if self.get_version(node) < self.version_to_num('9.6.0'):
self.del_test_dir(module_name, fname)
return unittest.skip(
'Skipped because backup from replica is not supported in PG 9.5')

self.init_pb(backup_dir)
self.add_instance(backup_dir, 'node', node)

Expand DownExpand Up@@ -2655,4 +2682,4 @@ def test_archive_empty_history_file(self):
#t2 ----------------
# /
#t1 -A--------
#
#

[8]ページ先頭

©2009-2025 Movatter.jp