Content-Length: 1462 | pFad | http://github.com/postgrespro/testgres/pull/124.patch
thub.com
From a712dac76d0f131c1c656ec08aa12b4a366e6ab8 Mon Sep 17 00:00:00 2001
From: vshepard
Date: Wed, 22 May 2024 23:43:47 +0200
Subject: [PATCH] Add probackup_path to ProbackupApp pg_probackup2/app.py
---
testgres/plugins/pg_probackup2/pg_probackup2/app.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/app.py b/testgres/plugins/pg_probackup2/pg_probackup2/app.py
index 1ab71109..6b0837cd 100644
--- a/testgres/plugins/pg_probackup2/pg_probackup2/app.py
+++ b/testgres/plugins/pg_probackup2/pg_probackup2/app.py
@@ -43,14 +43,14 @@ def __str__(self):
class ProbackupApp:
def __init__(self, test_class: unittest.TestCase,
- pg_node, pb_log_path, test_env, auto_compress_alg, backup_dir):
+ pg_node, pb_log_path, test_env, auto_compress_alg, backup_dir, probackup_path=None):
self.test_class = test_class
self.pg_node = pg_node
self.pb_log_path = pb_log_path
self.test_env = test_env
self.auto_compress_alg = auto_compress_alg
self.backup_dir = backup_dir
- self.probackup_path = init_params.probackup_path
+ self.probackup_path = probackup_path if probackup_path else init_params.probackup_path
self.probackup_old_path = init_params.probackup_old_path
self.remote = init_params.remote
self.verbose = init_params.verbose
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/postgrespro/testgres/pull/124.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy