Skip to content

Commit 9441e56

Browse files
authored
Don't apply URI validation in the test (#884)
1 parent db4a0ab commit 9441e56

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

driver/src/test/java/org/neo4j/driver/util/cc/LocalOrRemoteClusterExtension.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
import org.neo4j.driver.GraphDatabase;
3333
import org.neo4j.driver.util.TestUtil;
3434

35-
import static org.neo4j.driver.internal.Scheme.NEO4J_URI_SCHEME;
36-
3735
public class LocalOrRemoteClusterExtension implements BeforeAllCallback, AfterEachCallback, AfterAllCallback
3836
{
3937
private static final String CLUSTER_URI_SYSTEM_PROPERTY_NAME = "externalClusterUri";
@@ -128,10 +126,6 @@ private static void assertValidSystemPropertiesDefined()
128126
"Both cluster uri and 'neo4j' user password system properties should be set. " +
129127
"Uri: '" + uri + "', Password: '" + password + "'" );
130128
}
131-
if ( uri != null && !NEO4J_URI_SCHEME.equals( uri.getScheme() ) )
132-
{
133-
throw new IllegalStateException( "Cluster uri should have neo4j scheme: '" + uri + "'" );
134-
}
135129
}
136130

137131
private static boolean remoteClusterExists()

0 commit comments

Comments
 (0)