holixon / axon-gateway-extension

Extension to Axon Framework providing additional gateways.
Apache License 2.0
6 stars 2 forks source link

Fix RevisionAwareQueryGatewayTest test #163

Closed zambrovski closed 1 year ago

zambrovski commented 2 years ago

Steps to reproduce

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.holixon.axon.gateway.command.strategy.CompositeOrRegistrationCommandDispatchStrategyTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in io.holixon.axon.gateway.command.strategy.CompositeOrRegistrationCommandDispatchStrategyTest
[INFO] Running io.holixon.axon.gateway.query.RevisionAwareQueryGatewayTest
Error:  Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.454 s <<< FAILURE! - in io.holixon.axon.gateway.query.RevisionAwareQueryGatewayTest
Error:  wait on subscription query until the result is received and cancels then  Time elapsed: 0.761 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: Result future should be done now.
    at io.holixon.axon.gateway.query.RevisionAwareQueryGatewayTest.wait on subscription query until the result is received and cancels then(RevisionAwareQueryGatewayTest.kt:47)
zambrovski commented 1 year ago

tried to stabilize. still not clear.