Skip to content
Merged
Show file tree
Hide file tree
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 @@ -75,7 +75,7 @@ private static ConditionEvaluationResult checkFeatureAvailability( Neo4jFeature
try ( Session session = driver.session() )
{
String agent = session.readTransaction( tx -> tx.run( "RETURN 1" ).consume().server().agent() );
Pattern pattern = Pattern.compile( "^Neo4j/(\\d+)\\.(\\d+)\\.(\\d+)$" );
Pattern pattern = Pattern.compile( "^Neo4j/(\\d+)\\.(\\d+)\\.(\\d+)(-dev)?$" );
Matcher matcher = pattern.matcher( agent );
if ( !matcher.matches() )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void installNeo4j() throws IOException

moveFile( new File( tempHomeDir ), targetHomeFile );
debug( "Installed server at `%s`.", HOME_DIR );
executeCommand( "neoctrl-create-user", HOME_DIR, USER, PASSWORD );
executeCommand( "neoctrl-set-initial-password", PASSWORD, HOME_DIR );
}
}

Expand Down