Skip to content

Commit f0adb97

Browse files
committed
output action data if notification is not received
1 parent 9ed6e2e commit f0adb97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

maintnotifications/e2e/scenario_push_notifications_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,14 @@ func TestPushNotifications(t *testing.T) {
189189
}()
190190
commandsRunner.FireCommandsUntilStop(ctx)
191191
if !found {
192+
status, err = faultInjector.WaitForAction(ctx, migrateResp.ActionID,
193+
WithMaxWaitTime(240*time.Second),
194+
WithPollInterval(2*time.Second),
195+
)
196+
if err != nil {
197+
ef("[FI] Migrate action failed: %v", err)
198+
}
199+
p("[FI] Migrate action completed: %s %s", status.Status, actionOutputIfFailed(status))
192200
ef("MIGRATING notification for migrate action was not received within 60 seconds")
193201
}
194202
migrateData := logs2.ExtractDataFromLogMessage(match)

0 commit comments

Comments
 (0)