Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
import org.neo4j.driver.GraphDatabase;
import org.neo4j.driver.util.TestUtil;

import static org.neo4j.driver.internal.Scheme.NEO4J_URI_SCHEME;

public class LocalOrRemoteClusterExtension implements BeforeAllCallback, AfterEachCallback, AfterAllCallback
{
private static final String CLUSTER_URI_SYSTEM_PROPERTY_NAME = "externalClusterUri";
Expand Down Expand Up @@ -128,10 +126,6 @@ private static void assertValidSystemPropertiesDefined()
"Both cluster uri and 'neo4j' user password system properties should be set. " +
"Uri: '" + uri + "', Password: '" + password + "'" );
}
if ( uri != null && !NEO4J_URI_SCHEME.equals( uri.getScheme() ) )
{
throw new IllegalStateException( "Cluster uri should have neo4j scheme: '" + uri + "'" );
}
}

private static boolean remoteClusterExists()
Expand Down