Commit 979b13e
Improve async backend and bring initial reactive support (neo4j#999)
* Add support for Resolver and DomainNameResolver to async Testkit backend (neo4j#992)
* Decouple TestkitState from CommandProcessor. (neo4j#993)
This commit remoces the command processor from the TestKit state. The processor is supposed to use that state, not to be part of it.
However, some requests, like `NewDriver` need the processor to trigger further state.
Therefor the processor is now provided as injectable value via Jackson, so that any request can indicate that it needs a processor via a constructor argument.
* Remove unnessary Lombok noise. (neo4j#995)
* Migrate Testkit backend to Netty implementation (neo4j#994)
* Migrate Testkit backend to Netty implementation
* Remove unnessary Optional in processAsync.
This brings both sync and asynchronous paths in TestKitState in symmetry.
In addition, I noticed that the transaction related tests behaved differently in sync and async (when a tx is not found). I fixed that.
* Remove redundant lines
Co-authored-by: Michael Simons <[email protected]>
* Add reactive backend support (neo4j#998)
This update brings reactive backend support.
Its scope is limited to providing partial transparent support for existing test cases. More updates are expected in future PRs.
Co-authored-by: Michael Simons <[email protected]>1 parent 61e2706 commit 979b13e
File tree
62 files changed
+1045
-850
lines changed- testkit-backend/src
- main/java/neo4j/org/testkit/backend
- channel/handler
- messages
- requests
- responses
- test/java/neo4j/org/testkit/backend
- testkit-tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+1045
-850
lines changedLines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 0 additions & 244 deletions
This file was deleted.
0 commit comments