Skip to content

Commit 27e9ebe

Browse files
committed
experiment with a different way of binding the import directory. Have had the permissions denied locally with the other approach
1 parent 22da45f commit 27e9ebe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/apoc/util/TestContainerUtil.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public static Neo4jContainerExtension createEnterpriseDB(boolean withLogging) {
4444
.withAdminPassword("apoc")
4545
.withNeo4jConfig("apoc.export.file.enabled", "true")
4646
.withNeo4jConfig("dbms.security.procedures.unrestricted", "apoc.*")
47-
// .withEnv("NEO4J_wrapper_java_additional","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -Xdebug-Xnoagent-Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005")
48-
.withFileSystemBind("./target/import", "/import") // map the "target/import" dir as the Neo4j's import dir
47+
.withFileSystemBind("./target/import", "/var/lib/neo4j/import") // map the "target/import" dir as the Neo4j's import dir
4948
.withEnv("NEO4J_ACCEPT_LICENSE_AGREEMENT", "yes")
5049
// set uid if possible - export tests do write to "/import"
5150
.withCreateContainerCmdModifier(cmd -> {

0 commit comments

Comments
 (0)