Skip to content

Commit 4a452b0

Browse files
committed
wait more in e2e test
1 parent 09a2f07 commit 4a452b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

maintnotifications/e2e/scenario_push_notifications_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ func TestPushNotifications(t *testing.T) {
395395

396396
p("Executing commands and collecting logs for analysis... This will take 30 seconds...")
397397
go commandsRunner.FireCommandsUntilStop(ctx)
398-
time.Sleep(time.Minute)
398+
time.Sleep(2 * time.Minute)
399399
commandsRunner.Stop()
400-
time.Sleep(time.Minute)
400+
time.Sleep(2 * time.Minute)
401401
allLogsAnalysis := logCollector.GetAnalysis()
402402
trackerAnalysis := tracker.GetAnalysis()
403403

@@ -473,7 +473,7 @@ func TestPushNotifications(t *testing.T) {
473473

474474
// unrelaxed (and relaxed) after moving wont be tracked by the hook, so we have to exclude it
475475
if trackerAnalysis.UnrelaxedTimeoutCount != allLogsAnalysis.UnrelaxedTimeoutCount-allLogsAnalysis.UnrelaxedAfterMoving {
476-
e("Expected %d unrelaxed timeouts, got %d", trackerAnalysis.UnrelaxedTimeoutCount, allLogsAnalysis.UnrelaxedTimeoutCount)
476+
e("Expected %d unrelaxed timeouts, got %d", trackerAnalysis.UnrelaxedTimeoutCount, allLogsAnalysis.UnrelaxedTimeoutCount-allLogsAnalysis.UnrelaxedAfterMoving)
477477
}
478478
if trackerAnalysis.RelaxedTimeoutCount != allLogsAnalysis.RelaxedTimeoutCount-allLogsAnalysis.RelaxedPostHandoffCount {
479479
e("Expected %d relaxed timeouts, got %d", trackerAnalysis.RelaxedTimeoutCount, allLogsAnalysis.RelaxedTimeoutCount)

0 commit comments

Comments
 (0)