@@ -157,7 +157,7 @@ func TestPushNotifications(t *testing.T) {
157
157
p ("Waiting for FAILING_OVER notification" )
158
158
match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
159
159
return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && notificationType (s , "FAILING_OVER" )
160
- }, 2 * time .Minute )
160
+ }, 3 * time .Minute )
161
161
commandsRunner .Stop ()
162
162
}()
163
163
commandsRunner .FireCommandsUntilStop (ctx )
@@ -172,7 +172,7 @@ func TestPushNotifications(t *testing.T) {
172
172
p ("Waiting for FAILED_OVER notification on conn %d with seqID %d..." , connIDToObserve , seqIDToObserve + 1 )
173
173
match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
174
174
return notificationType (s , "FAILED_OVER" ) && connID (s , connIDToObserve ) && seqID (s , seqIDToObserve + 1 )
175
- }, 2 * time .Minute )
175
+ }, 3 * time .Minute )
176
176
commandsRunner .Stop ()
177
177
}()
178
178
commandsRunner .FireCommandsUntilStop (ctx )
@@ -232,7 +232,7 @@ func TestPushNotifications(t *testing.T) {
232
232
p ("Waiting for MIGRATED notification on conn %d with seqID %d..." , connIDToObserve , seqIDToObserve + 1 )
233
233
match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
234
234
return notificationType (s , "MIGRATED" ) && connID (s , connIDToObserve ) && seqID (s , seqIDToObserve + 1 )
235
- }, 2 * time .Minute )
235
+ }, 3 * time .Minute )
236
236
commandsRunner .Stop ()
237
237
}()
238
238
commandsRunner .FireCommandsUntilStop (ctx )
@@ -299,7 +299,7 @@ func TestPushNotifications(t *testing.T) {
299
299
p ("Waiting for MOVING notification on second client" )
300
300
match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
301
301
return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && notificationType (s , "MOVING" )
302
- }, 2 * time .Minute )
302
+ }, 3 * time .Minute )
303
303
commandsRunner .Stop ()
304
304
// once moving is received, start a second client commands runner
305
305
p ("Starting commands on second client" )
@@ -315,7 +315,7 @@ func TestPushNotifications(t *testing.T) {
315
315
// also validate big enough relaxed timeout
316
316
match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
317
317
return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && notificationType (s , "MOVING" ) && connID (s , 18 )
318
- }, 2 * time .Minute )
318
+ }, 3 * time .Minute )
319
319
if ! found {
320
320
errChan <- fmt .Errorf ("MOVING notification was not received within 2 minutes ON A SECOND CLIENT" )
321
321
return
@@ -325,7 +325,7 @@ func TestPushNotifications(t *testing.T) {
325
325
// wait for relaxation of 30m
326
326
match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
327
327
return strings .Contains (s , logs2 .ApplyingRelaxedTimeoutDueToPostHandoffMessage ) && strings .Contains (s , "30m" )
328
- }, 2 * time .Minute )
328
+ }, 3 * time .Minute )
329
329
if ! found {
330
330
errChan <- fmt .Errorf ("relaxed timeout was not applied within 2 minutes ON A SECOND CLIENT" )
331
331
return
0 commit comments