Skip to content

Commit 27a9ba8

Browse files
DarthMaxFlorentinD
andcommitted
Minor cleanups
Co-authored-by: Florentin Dörre <[email protected]>
1 parent c4d6fec commit 27a9ba8

File tree

1 file changed

+2
-5
lines changed
  • graphdatascience/tests/integrationV2/procedure_surface/arrow

1 file changed

+2
-5
lines changed

graphdatascience/tests/integrationV2/procedure_surface/arrow/conftest.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def session_container(password_file: str) -> Generator[DockerContainer, None, No
4444
.with_env("DNS_NAME", "gds-session")
4545
.with_env("PAGE_CACHE_SIZE", "100M")
4646
.with_exposed_ports(8491)
47-
.with_exposed_ports(7687)
4847
.with_network_aliases(["gds-session"])
4948
.with_volume_mapping(password_file, "/passwords")
5049
)
@@ -69,7 +68,7 @@ def arrow_client(session_container: DockerContainer) -> AuthenticatedArrowClient
6968
)
7069

7170

72-
@pytest.fixture(scope="session")
71+
@pytest.fixture(scope="package")
7372
def neo4j_container(password_file: str) -> Generator[DockerContainer, None, None]:
7473
neo4j_image = os.getenv("NEO4J_DATABASE_IMAGE")
7574

@@ -83,8 +82,6 @@ def neo4j_container(password_file: str) -> Generator[DockerContainer, None, None
8382
.with_env("NEO4J_server_jvm_additional", "-Dcom.neo4j.arrow.GdsFeatureToggles.enableGds=false")
8483
)
8584

86-
# .with_env("NEO4J_AUTH", "neo4j/password"))
87-
8885
with db_container as db_container:
8986
wait_for_logs(db_container, "Started.")
9087
stdout, stderr = db_container.get_logs()
@@ -94,7 +91,7 @@ def neo4j_container(password_file: str) -> Generator[DockerContainer, None, None
9491
print(stdout)
9592

9693

97-
@pytest.fixture
94+
@pytest.fixture(scope="package")
9895
def query_runner(neo4j_container: DockerContainer) -> Generator[QueryRunner, None, None]:
9996
query_runner = Neo4jQueryRunner.create_for_db(
10097
"bolt://localhost:7687",

0 commit comments

Comments
 (0)