Skip to content

Commit b865921

Browse files
authored
Update LoadCSVIT.shouldLoadCSV to work with 5.0 (#1216)
To make it work with 5.0, `server.directories.import` must be excluded from config.
1 parent dfb609a commit b865921

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

driver/src/test/java/org/neo4j/driver/integration/LoadCSVIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
class LoadCSVIT
4141
{
4242
@RegisterExtension
43-
static final DatabaseExtension neo4j = new DatabaseExtension( Neo4jSettings.TEST_SETTINGS.without( Neo4jSettings.IMPORT_DIR ) );
43+
static final DatabaseExtension neo4j = new DatabaseExtension( Neo4jSettings.TEST_SETTINGS
44+
.without( Neo4jSettings.IMPORT_DIR )
45+
.without( Neo4jSettings.SERVER_IMPORT_DIR ) );
4446

4547
@Test
4648
void shouldLoadCSV() throws Throwable

driver/src/test/java/org/neo4j/driver/util/Neo4jSettings.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public class Neo4jSettings
3030
{
3131
public static final String DATA_DIR = "dbms.directories.data";
3232
public static final String IMPORT_DIR = "dbms.directories.import";
33+
// 5.0
34+
public static final String SERVER_IMPORT_DIR = "server.directories.import";
3335
public static final String LISTEN_ADDR = "dbms.default_listen_address";
3436
public static final String IPV6_ENABLED_ADDR = "::";
3537
public static final String BOLT_TLS_LEVEL = "dbms.connector.bolt.tls_level";

0 commit comments

Comments
 (0)