Skip to content

Commit

Permalink
presence: subscribe *after* publish
Browse files Browse the repository at this point in the history
If we simply rely on the timeout of the subscribe, it starts too early,
and the previously allocted port is not freed yet, thus the subscribe
no longer starts - this commit fixes this race
  • Loading branch information
razvancrainea committed Mar 7, 2024
1 parent af61db4 commit 3c7ebe3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions presence/01.presence/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ tasks:
subscriber: testing2
calls: 1
require:
started:
after:
task: Publish
wait: 2
<<<<<<< Updated upstream
wait: 2
=======
wait: 1
>>>>>>> Stashed changes

0 comments on commit 3c7ebe3

Please sign in to comment.