@@ -157,7 +157,7 @@ func TestPushNotifications(t *testing.T) {
157157 p ("Waiting for FAILING_OVER notification" )
158158 match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
159159 return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && notificationType (s , "FAILING_OVER" )
160- }, 2 * time .Minute )
160+ }, 3 * time .Minute )
161161 commandsRunner .Stop ()
162162 }()
163163 commandsRunner .FireCommandsUntilStop (ctx )
@@ -172,7 +172,7 @@ func TestPushNotifications(t *testing.T) {
172172 p ("Waiting for FAILED_OVER notification on conn %d with seqID %d..." , connIDToObserve , seqIDToObserve + 1 )
173173 match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
174174 return notificationType (s , "FAILED_OVER" ) && connID (s , connIDToObserve ) && seqID (s , seqIDToObserve + 1 )
175- }, 2 * time .Minute )
175+ }, 3 * time .Minute )
176176 commandsRunner .Stop ()
177177 }()
178178 commandsRunner .FireCommandsUntilStop (ctx )
@@ -232,7 +232,7 @@ func TestPushNotifications(t *testing.T) {
232232 p ("Waiting for MIGRATED notification on conn %d with seqID %d..." , connIDToObserve , seqIDToObserve + 1 )
233233 match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
234234 return notificationType (s , "MIGRATED" ) && connID (s , connIDToObserve ) && seqID (s , seqIDToObserve + 1 )
235- }, 2 * time .Minute )
235+ }, 3 * time .Minute )
236236 commandsRunner .Stop ()
237237 }()
238238 commandsRunner .FireCommandsUntilStop (ctx )
@@ -299,7 +299,7 @@ func TestPushNotifications(t *testing.T) {
299299 p ("Waiting for MOVING notification on second client" )
300300 match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
301301 return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && notificationType (s , "MOVING" )
302- }, 2 * time .Minute )
302+ }, 3 * time .Minute )
303303 commandsRunner .Stop ()
304304 // once moving is received, start a second client commands runner
305305 p ("Starting commands on second client" )
@@ -315,7 +315,7 @@ func TestPushNotifications(t *testing.T) {
315315 // also validate big enough relaxed timeout
316316 match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
317317 return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && notificationType (s , "MOVING" ) && connID (s , 18 )
318- }, 2 * time .Minute )
318+ }, 3 * time .Minute )
319319 if ! found {
320320 errChan <- fmt .Errorf ("MOVING notification was not received within 2 minutes ON A SECOND CLIENT" )
321321 return
@@ -325,7 +325,7 @@ func TestPushNotifications(t *testing.T) {
325325 // wait for relaxation of 30m
326326 match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
327327 return strings .Contains (s , logs2 .ApplyingRelaxedTimeoutDueToPostHandoffMessage ) && strings .Contains (s , "30m" )
328- }, 2 * time .Minute )
328+ }, 3 * time .Minute )
329329 if ! found {
330330 errChan <- fmt .Errorf ("relaxed timeout was not applied within 2 minutes ON A SECOND CLIENT" )
331331 return
0 commit comments