Giter Site home page Giter Site logo

Comments (2)

vigorouscoding avatar vigorouscoding commented on June 2, 2024

For our scenario, the tests should always run against a completely empty, fresh installation of neo4j, which is why the stock configuration is used and even hard-coded.

I would recommend using the mvn flag -DskipTests - this saves you a lot of time and gets around this.

Even more so, I would recommend using the docker images at https://hub.docker.com/r/structr/structr/ or downloading the deb packages (or the zip version) from https://structr.com/resources/download


Regarding the NPEs - if you could provide a stack trace, that would help us out a lot. Thank you!

from structr.

derkaiserreich avatar derkaiserreich commented on June 2, 2024

As @vigorouscoding mentioned, the tests are intended to run against completely empty and fresh neo4j databases, this is why the credentials are hardcoded in the tests.

You can spawn a new database with docker fairly easy and setting the credentials an evironment flag in the docker command. E.g. -e NEO4J_AUTH=neo4j/admin

Regarding the NPEs: Those are a result of the tests not being able to connect to a database. We'll adress this in a future version.

from structr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.