Closed raduk closed 10 years ago
I have some of the tests failing when executing 'mvn clean package':
Failed tests: emitGraph(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..) testSortResults(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..) returning_nested_pipes(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..) returning_paths(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..)
These are the exceptions in GremlinPluginFunctionalTest:
Tests run: 27, Failures: 4, Errors: 0, Skipped: 2, Time elapsed: 8.17 sec <<< FAILURE! emitGraph(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest) Time elapsed: 0.175 sec <<< FAILURE! java.lang.AssertionError: Wrong response status. response: { "message" : "javax.script.ScriptException: org.neo4j.kernel.impl.persistence.ResourceAcquisitionFailedException: The transaction is marked for rollback only.", "exception" : "BadInputException", "fullname" : "org.neo4j.server.rest.repr.BadInputException", "stacktrace" : [ "org.neo4j.server.plugin.gremlin.GremlinPlugin.executeScript(GremlinPlugin.java:88)", "java.lang.reflect.Method.invoke(Method.java:606)", "org.neo4j.server.plugins.PluginMethod.invoke(PluginMethod.java:61)", "org.neo4j.server.plugins.PluginManager.invoke(PluginManager.java:168)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:312)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:134)", "java.lang.reflect.Method.invoke(Method.java:606)", "org.neo4j.server.rest.transactional.TransactionalRequestDispatcher.dispatch(TransactionalRequestDispatcher.java:132)", "org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112)", "java.lang.Thread.run(Thread.java:744)" ] } expected:<200> but was:<400>
solved by modifying the configuration of surefire
I have some of the tests failing when executing 'mvn clean package':
Failed tests: emitGraph(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..) testSortResults(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..) returning_nested_pipes(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..) returning_paths(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest): Wrong response status. response: {(..)
These are the exceptions in GremlinPluginFunctionalTest:
Test set: org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest
Tests run: 27, Failures: 4, Errors: 0, Skipped: 2, Time elapsed: 8.17 sec <<< FAILURE! emitGraph(org.neo4j.server.plugin.gremlin.GremlinPluginFunctionalTest) Time elapsed: 0.175 sec <<< FAILURE! java.lang.AssertionError: Wrong response status. response: { "message" : "javax.script.ScriptException: org.neo4j.kernel.impl.persistence.ResourceAcquisitionFailedException: The transaction is marked for rollback only.", "exception" : "BadInputException", "fullname" : "org.neo4j.server.rest.repr.BadInputException", "stacktrace" : [ "org.neo4j.server.plugin.gremlin.GremlinPlugin.executeScript(GremlinPlugin.java:88)", "java.lang.reflect.Method.invoke(Method.java:606)", "org.neo4j.server.plugins.PluginMethod.invoke(PluginMethod.java:61)", "org.neo4j.server.plugins.PluginManager.invoke(PluginManager.java:168)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:312)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:134)", "java.lang.reflect.Method.invoke(Method.java:606)", "org.neo4j.server.rest.transactional.TransactionalRequestDispatcher.dispatch(TransactionalRequestDispatcher.java:132)", "org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112)", "java.lang.Thread.run(Thread.java:744)" ] } expected:<200> but was:<400>