diff --git a/test_runner/fixtures/neon_fixtures.py b/test_runner/fixtures/neon_fixtures.py index 0a9735ce9e56..392c4d4c0b50 100644 --- a/test_runner/fixtures/neon_fixtures.py +++ b/test_runner/fixtures/neon_fixtures.py @@ -1595,7 +1595,11 @@ def endpoint_start( if endpoint_id is not None: args.append(endpoint_id) - res = self.raw_cli(args) + s3_env_vars = None + if self.env.remote_storage is not None and isinstance(self.env.remote_storage, S3Storage): + s3_env_vars = self.env.remote_storage.access_env_vars() + + res = self.raw_cli(args, extra_env_vars=s3_env_vars) res.check_returncode() return res diff --git a/test_runner/regress/test_compatibility.py b/test_runner/regress/test_compatibility.py index 754d23a01a27..eb26270a5fbd 100644 --- a/test_runner/regress/test_compatibility.py +++ b/test_runner/regress/test_compatibility.py @@ -337,6 +337,7 @@ def check_neon_works( config.pg_version = pg_version config.initial_tenant = snapshot_config["default_tenant_id"] config.pg_distrib_dir = pg_distrib_dir + config.remote_storage = None # Use the "target" binaries to launch the storage nodes config_target = config