From 3c7ebe310858d937de1594c6cf38bce5554d4679 Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Thu, 7 Mar 2024 14:13:04 +0200 Subject: [PATCH] presence: subscribe *after* publish 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 --- presence/01.presence/scenario.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/presence/01.presence/scenario.yml b/presence/01.presence/scenario.yml index 0cc9219..e2287d7 100644 --- a/presence/01.presence/scenario.yml +++ b/presence/01.presence/scenario.yml @@ -29,6 +29,10 @@ tasks: subscriber: testing2 calls: 1 require: - started: + after: task: Publish - wait: 2 \ No newline at end of file +<<<<<<< Updated upstream + wait: 2 +======= + wait: 1 +>>>>>>> Stashed changes