[Minor] LogMessagesTestRunner: increase wait times for slower PCs

This commit is contained in:
Robert von Burg 2019-09-04 12:38:04 +02:00
parent e21be1a386
commit eefdbb7613
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class LogMessagesTestRunner {
this.operationsLog.addMessage(logMessage); this.operationsLog.addMessage(logMessage);
// default is async persisting... // default is async persisting...
Thread.sleep(50L); Thread.sleep(100L);
StrolchRealm realm = this.container.getRealm(this.realmName); StrolchRealm realm = this.container.getRealm(this.realmName);
@ -89,7 +89,7 @@ public class LogMessagesTestRunner {
} }
// default is async persisting... // default is async persisting...
Thread.sleep(1000L); Thread.sleep(1500L);
int trimSize = (int) (MAX_MESSAGES * 0.1); int trimSize = (int) (MAX_MESSAGES * 0.1);
int expectedSize = MAX_MESSAGES - trimSize + 2; // +2 => startup and first message int expectedSize = MAX_MESSAGES - trimSize + 2; // +2 => startup and first message