From 62bd6525fc20c99d390624612fcf95d404571f73 Mon Sep 17 00:00:00 2001 From: vshepard Date: Tue, 12 Mar 2024 10:08:05 +0100 Subject: [PATCH] Remove logging in run --- testgres/plugins/pg_probackup2/pg_probackup2/app.py | 2 -- testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py | 3 --- 2 files changed, 5 deletions(-) diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/app.py b/testgres/plugins/pg_probackup2/pg_probackup2/app.py index 4e6e91ff..94dcd997 100644 --- a/testgres/plugins/pg_probackup2/pg_probackup2/app.py +++ b/testgres/plugins/pg_probackup2/pg_probackup2/app.py @@ -1,7 +1,6 @@ import contextlib import importlib import json -import logging import os import re import subprocess @@ -102,7 +101,6 @@ def run(self, command, gdb=False, old_binary=False, return_id=True, env=None, print(self.test_class.cmd) cmdline = [binary_path, *command] - logging.info(' '.join(cmdline)) if gdb is True: # general test flow for using GDBObj return GDBobj(cmdline, self.test_class) diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py b/testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py index f392d1b9..e3dd9e4f 100644 --- a/testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py +++ b/testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py @@ -204,9 +204,6 @@ def __init__(self): os.environ["PGAPPNAME"] = "pg_probackup" self.delete_logs = delete_logs - # s3 params - self.s3_type = test_env.get('PG_PROBACKUP_S3_TEST') - def test_env(self): return self._test_env.copy()