Ricardo Trindade

Results 5 comments of Ricardo Trindade

Hey @cheerfulstoic, `run_transaction` is placed around each example like you said. Also tried to clean up the database after each example and it didn't fix the issue 😢

I seem to made the test pass when changing it to ``` config.around(:each) do |example| example.run Neo4j::ActiveBase.run_transaction(&:mark_failed) end ``` I'll give more news once I have them

Although one the things I noticed when running the tests and using byebug was that ``` Neo4j::ActiveBase.run_transaction do |tx| tx.mark_failed end ``` inside the `run_transaction` block, tx.id is `nil`

@cheerfulstoic the whole suit passes with ``` config.around(:each, neo4j: true) do |example| example.run Neo4j::ActiveBase.run_transaction(&:mark_failed) end ``` and cleaning the database after each test like you said

This one did the trick for me in docker-compose with an environment variable using Neo4j 5.18 `NEO4J_dbms_unmanaged__extension__classes=n10s.endpoint: '/rdf'`