Expected a completion event, but didn't received it #28179
Replies: 3 comments
-
/cc @evanchooly, @geoand |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
When you call Here you await for a subscription for up to 3 seconds, which is fine, but you have no guarantee that once you have a subscription you immediately have the item, hence the test fails. By contrast the If you want to keep the first form you should look into |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I use Mutiny in combination with https://quarkus.io/guides/reactive-sql-clients.
When I do the following query to the database with the assertion:
I have got:
Unfortunately, I could not figure out why I do not receive the completion event.
Calling the method
await
instead ofsubscribe
it yields the expected result:What is wrong with subscribe?
Best regards
Beta Was this translation helpful? Give feedback.
All reactions