Skip to content

Commit

Permalink
5 sec is not cutting it
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1g5 committed Sep 19, 2023
1 parent d31cb8f commit 64763b5
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void testRestoreOnLogin() {

// Make sure user is present in the group.
HQApi.addUserInGroup(userId, groupId);
InstrumentationUtility.sleep(5);
InstrumentationUtility.sleep(30);

installAppAndClearCache();

Expand Down Expand Up @@ -98,7 +98,7 @@ public void testRestoreOnSync() {

// Make sure user is not present in the group.
HQApi.removeUserFromGroup(userId, groupId);
InstrumentationUtility.sleep(5);
InstrumentationUtility.sleep(30);

installAppAndClearCache();

Expand All @@ -112,10 +112,9 @@ public void testRestoreOnSync() {
// Confirm No Restore happened during login.
assertFalse(AsyncRestoreHelperMock.isRetryCalled());
assertFalse(AsyncRestoreHelperMock.isServerProgressReportingStarted());

// Add user to the group.
HQApi.addUserInGroup(userId, groupId);
InstrumentationUtility.sleep(5);
InstrumentationUtility.sleep(30);

// Sync with server.
onView(withText("Sync with Server"))
Expand Down

0 comments on commit 64763b5

Please sign in to comment.