fix other detected process leakage in the lowest-effort-way possible

This commit is contained in:
Christian Schwarz
2024-01-26 10:10:08 +00:00
parent 2b581eefa7
commit 39490ddd6c
2 changed files with 4 additions and 1 deletions

View File

@@ -24,7 +24,8 @@ from fixtures.types import Lsn, TenantId, TimelineId
from fixtures.utils import subprocess_capture
def test_import_from_vanilla(test_output_dir, pg_bin, vanilla_pg, neon_env_builder):
# fixture order matters here: neon_env_builder leaked process assertions
def test_import_from_vanilla(test_output_dir, pg_bin, neon_env_builder, vanilla_pg):
# Put data in vanilla pg
vanilla_pg.start()
vanilla_pg.safe_psql("create user cloud_admin with password 'postgres' superuser")

View File

@@ -59,3 +59,5 @@ def test_neon_two_primary_endpoints_fail(
env.neon_cli.endpoint_stop("ep1")
# ep1 is stopped so create ep2 will succeed
env.neon_cli.endpoint_start("ep2")
# cleanup
env.neon_cli.endpoint_stop("ep2")