You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a race condition when adapting the IntegrationPortfolioTests. In my case I wanted to connect the client, then trigger a message, then verify that it was received. The race condition caused the trigger to hit the server before the afterConnected() method of the AbstractTestSessionHandler instance had completed, hence before the client was subscribed to the topic. As a consequence, the client never received the triggered message on the topic.
I think it would be nice to enhance the test or document this potential flaw.
The text was updated successfully, but these errors were encountered:
Hi, great resource.
I ran into a race condition when adapting the IntegrationPortfolioTests. In my case I wanted to connect the client, then trigger a message, then verify that it was received. The race condition caused the trigger to hit the server before the afterConnected() method of the AbstractTestSessionHandler instance had completed, hence before the client was subscribed to the topic. As a consequence, the client never received the triggered message on the topic.
I think it would be nice to enhance the test or document this potential flaw.
The text was updated successfully, but these errors were encountered: