Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit 0951928

Browse files
committed
Tweaked ChangePasswordIT timeout settings
1 parent adf03da commit 0951928

File tree

1 file changed

+2
-2
lines changed
  • extensions/spring/stormpath-spring-security-webmvc/src/test/groovy/com/stormpath/spring/config

1 file changed

+2
-2
lines changed

extensions/spring/stormpath-spring-security-webmvc/src/test/groovy/com/stormpath/spring/config/AbstractClientIT.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ abstract class AbstractClientIT extends AbstractTestNGSpringContextTests {
8686
String emailId = null
8787
int count = 0
8888

89-
while (emailId == null && count++ < 30) {
89+
while (emailId == null && count++ < 150) {
9090
for (JsonNode emailNode : emailList) {
9191
String mailSubject = emailNode.get("mail_subject").asText()
9292
String localEmailId = emailNode.get("mail_id").asText()
@@ -96,7 +96,7 @@ abstract class AbstractClientIT extends AbstractTestNGSpringContextTests {
9696
}
9797
}
9898
if (emailId == null) { // try retrieving email again
99-
Thread.sleep(500)
99+
Thread.sleep(100)
100100
json = get(GUERILLA_MAIL_BASE + "?f=get_email_list&offset=0&sid_token=" + guerillaEmail.getToken()).asString()
101101
rootNode = mapper.readTree(json)
102102
emailList = rootNode.path("list")

0 commit comments

Comments
 (0)