Example #1
0
        public static EnterpriseServerBuilder ServerOnRandomPorts()
        {
            EnterpriseServerBuilder server = server();

            server.OnRandomPorts();
            server.WithProperty((new BoltConnector("bolt")).listen_address.name(), "localhost:0");
            server.WithProperty(OnlineBackupSettings.online_backup_server.name(), "127.0.0.1:0");
            return(server);
        }
Example #2
0
 internal TestEnterpriseNeoServer(EnterpriseServerBuilder outerInstance, Config config, File configFile, GraphDatabaseFacadeFactory.Dependencies dependencies) : base(config, dependencies)
 {
     this._outerInstance = outerInstance;
     this.ConfigFile     = configFile;
 }