IOSAD-141 Run test much longer. IOSAD-141
authorDirk Zimmermann <dz@pep.security>
Thu, 12 Sep 2019 16:41:52 +0200
branchIOSAD-141
changeset 1243e258dfb17e7f
parent 1242 53d7e21a8b07
child 1244 d780d1356405
IOSAD-141 Run test much longer.
pEpObjCTests/PEPSessionTest.m
     1.1 --- a/pEpObjCTests/PEPSessionTest.m	Thu Sep 12 16:41:52 2019 +0200
     1.2 +++ b/pEpObjCTests/PEPSessionTest.m	Thu Sep 12 16:41:52 2019 +0200
     1.3 @@ -1461,7 +1461,7 @@
     1.4      // Mix sessions between threads.
     1.5      __block PEPSession *sharedSession;
     1.6  
     1.7 -    for (int iOuter = 0; iOuter < 10; ++iOuter) {
     1.8 +    for (int iOuter = 0; iOuter < 1000; ++iOuter) {
     1.9          XCTestExpectation *expThread1Finished = [self expectationWithDescription:@"Thread1 finished"];
    1.10          NSThread *thread1 = [[NSThread alloc] initWithBlock:^{
    1.11              PEPSession *session1 = [PEPSession new];