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()