From 52e8c3c98ff6f6afdb56d6b9839abb300141e8ce Mon Sep 17 00:00:00 2001 From: Alex Chi Z Date: Tue, 16 May 2023 17:44:16 -0400 Subject: [PATCH] Update test_runner/regress/test_tenants.py Co-authored-by: Alexander Bayandin --- test_runner/regress/test_tenants.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_runner/regress/test_tenants.py b/test_runner/regress/test_tenants.py index 0be70be4c0..137d62d861 100644 --- a/test_runner/regress/test_tenants.py +++ b/test_runner/regress/test_tenants.py @@ -423,5 +423,4 @@ def test_pageserver_create_tenants_fail( with pytest.raises(PageserverApiException, match=f"failpoint: tenant-create-fail"): client.tenant_create(tenant_id) - path = Path(env.repo_dir) / "tenants" / str(tenant_id) - assert not path.exists() + assert not (env.repo_dir / "tenants" / str(tenant_id)).exists()