IOSAD-157 Check sync loop more often IOSAD-157
authorDirk Zimmermann <dz@pep.security>
Mon, 18 Nov 2019 15:54:57 +0100
branchIOSAD-157
changeset 1344748e3ffd7804
parent 1343 41c3edccf19d
child 1345 4791470b2684
IOSAD-157 Check sync loop more often
pEpObjCTests/PEPSessionTest.m
     1.1 --- a/pEpObjCTests/PEPSessionTest.m	Mon Nov 18 15:54:57 2019 +0100
     1.2 +++ b/pEpObjCTests/PEPSessionTest.m	Mon Nov 18 15:54:57 2019 +0100
     1.3 @@ -1470,6 +1470,8 @@
     1.4      XCTAssertTrue([session keyResetAllOwnKeysError:&error]);
     1.5      XCTAssertNil(error);
     1.6  
     1.7 +    XCTAssertTrue(self.sync.isRunning);
     1.8 +
     1.9      XCTKVOExpectation *expHaveMessage2 = [[XCTKVOExpectation alloc]
    1.10                                            initWithKeyPath:@"lastMessage"
    1.11                                            object:self.sendMessageDelegate];