You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jo...@apache.org on 2022/10/27 14:42:17 UTC
[beam] branch master updated: [BEAM-23815] Fix Neo4j tests. (#23862)
This is an automated email from the ASF dual-hosted git repository.
johncasey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 131765baeaf [BEAM-23815] Fix Neo4j tests. (#23862)
131765baeaf is described below
commit 131765baeaf3bce87da71869100dc24971bcd2df
Author: Pranav Bhandari <bh...@gmail.com>
AuthorDate: Thu Oct 27 10:42:11 2022 -0400
[BEAM-23815] Fix Neo4j tests. (#23862)
---
.../neo4j/src/test/java/org/apache/beam/sdk/io/neo4j/Neo4jIOIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdks/java/io/neo4j/src/test/java/org/apache/beam/sdk/io/neo4j/Neo4jIOIT.java b/sdks/java/io/neo4j/src/test/java/org/apache/beam/sdk/io/neo4j/Neo4jIOIT.java
index fc8d712b6cc..e5f606642a5 100644
--- a/sdks/java/io/neo4j/src/test/java/org/apache/beam/sdk/io/neo4j/Neo4jIOIT.java
+++ b/sdks/java/io/neo4j/src/test/java/org/apache/beam/sdk/io/neo4j/Neo4jIOIT.java
@@ -70,7 +70,7 @@ public class Neo4jIOIT {
new Neo4jContainer<>(DockerImageName.parse("neo4j").withTag(Neo4jTestUtil.NEO4J_VERSION))
.withStartupAttempts(1)
.withAdminPassword(Neo4jTestUtil.NEO4J_PASSWORD)
- .withEnv("NEO4J_dbms_default_listen_address", "0.0.0.0")
+ .withEnv("dbms_default_listen_address", "0.0.0.0")
.withNetworkAliases(Neo4jTestUtil.NEO4J_NETWORK_ALIAS)
.withSharedMemorySize(256 * 1024 * 1024L); // 256MB
@@ -88,7 +88,7 @@ public class Neo4jIOIT {
Neo4jTestUtil.executeOnNeo4j(
containerHostname,
containerPort,
- "CREATE CONSTRAINT something_id_unique ON (n:Something) ASSERT n.id IS UNIQUE",
+ "CREATE CONSTRAINT something_id_unique FOR (n:Something) REQUIRE n.id IS UNIQUE",
true);
}