Closed icejean closed 2 years ago
gradle :proc-test:test --tests org.neo4j.gds.impl.spanningTree.KSpanningTreeProcTest
The command above is O.K., but failed in Eclipse Junit test.
It's a configuration problem, I address the problem by matching the neo4j version according to the version mentioned in build.gradle.
Hi, all, I'm planning to upgrade my GDS library 1.6.1 to higher version of OpenGDS 1.8.6 or 2.0.2, which my own algorithm is running with. My problem is , OpenGDS seems to be compiled and is running correctly in command line window, but test cases won't run in Eclipse. For example, when I try to run the Junit test case for ~/alpha/alpha-proc/src/main/java/org/neo4j/gds/spanningtree/KSpanningTreeProc.java, the test case ~/alpha/alpha-proc/src/test/java/org/neo4j/gds/KSpanningTreeProcTest.java, which I import to my Eclipse project to test, it just failed to load a test database with null pointer exception. Here's the stack trace, any idea? I think it may be some misconfigurations of pom.xml, and put it in the end. I import ~/alpha/alpha-algo/src/test/java/org/neo4j/gds/impl/spanningTree/PrimTest.java too, and it runs fine.
GDS version: 1.8.6 Neo4j version: 4.4.5 Operating system: Windows 10