Skip to content

Commit 0ed69a1

Browse files
committed
Calendar is still unstable, increase timeout and add log line for more investigation
1 parent 287cc68 commit 0ed69a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

com.unity.mobile.notifications/Tests/Runtime/iOS/iOSNotificationTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ IEnumerator SendNotificationUsingCalendarTrigger_NotificationIsReceived(string t
182182

183183
iOSNotificationCenter.ScheduleNotification(notification);
184184
Debug.Log($"SendNotificationUsingCalendarTrigger_NotificationIsReceived, Now: {dateTime}, Notification should arrive on: {dt}");
185-
yield return WaitForNotification(10.0f);
185+
yield return WaitForNotification(20.0f);
186+
Debug.Log($"SendNotificationUsingCalendarTrigger_NotificationIsReceived, wait finished at: {DateTime.Now}");
186187
Assert.AreEqual(1, receivedNotificationCount);
187188
Assert.IsNotNull(lastReceivedNotification);
188189
Assert.AreEqual(text, lastReceivedNotification.Title);

0 commit comments

Comments
 (0)