Skip to content

Commit da08bc1

Browse files
committed
Try to fix test instability
1 parent 4092be7 commit da08bc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

com.unity.mobile.notifications/Tests/Runtime/Android/AndroidNotificationSendingTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public IEnumerator NotificationIsScheduled_NotificationStatusIsCorrectlyReported
185185
Assert.AreEqual(NotificationStatus.Scheduled, status);
186186

187187
yield return WaitForNotification(120.0f);
188+
yield return new WaitForSeconds(1.0f); // give some time for Status Bar to update
188189
status = AndroidNotificationCenter.CheckScheduledNotificationStatus(originalId);
189190
Assert.AreEqual(NotificationStatus.Delivered, status);
190191

0 commit comments

Comments
 (0)