@@ -44,7 +44,6 @@ def session_container(password_file: str) -> Generator[DockerContainer, None, No
44
44
.with_env ("DNS_NAME" , "gds-session" )
45
45
.with_env ("PAGE_CACHE_SIZE" , "100M" )
46
46
.with_exposed_ports (8491 )
47
- .with_exposed_ports (7687 )
48
47
.with_network_aliases (["gds-session" ])
49
48
.with_volume_mapping (password_file , "/passwords" )
50
49
)
@@ -69,7 +68,7 @@ def arrow_client(session_container: DockerContainer) -> AuthenticatedArrowClient
69
68
)
70
69
71
70
72
- @pytest .fixture (scope = "session " )
71
+ @pytest .fixture (scope = "package " )
73
72
def neo4j_container (password_file : str ) -> Generator [DockerContainer , None , None ]:
74
73
neo4j_image = os .getenv ("NEO4J_DATABASE_IMAGE" )
75
74
@@ -83,8 +82,6 @@ def neo4j_container(password_file: str) -> Generator[DockerContainer, None, None
83
82
.with_env ("NEO4J_server_jvm_additional" , "-Dcom.neo4j.arrow.GdsFeatureToggles.enableGds=false" )
84
83
)
85
84
86
- # .with_env("NEO4J_AUTH", "neo4j/password"))
87
-
88
85
with db_container as db_container :
89
86
wait_for_logs (db_container , "Started." )
90
87
stdout , stderr = db_container .get_logs ()
@@ -94,7 +91,7 @@ def neo4j_container(password_file: str) -> Generator[DockerContainer, None, None
94
91
print (stdout )
95
92
96
93
97
- @pytest .fixture
94
+ @pytest .fixture ( scope = "package" )
98
95
def query_runner (neo4j_container : DockerContainer ) -> Generator [QueryRunner , None , None ]:
99
96
query_runner = Neo4jQueryRunner .create_for_db (
100
97
"bolt://localhost:7687" ,
0 commit comments