Skip to content

Commit

Permalink
Merge 1b2e704 into d1fffb4
Browse files Browse the repository at this point in the history
  • Loading branch information
tnek committed Aug 25, 2021
2 parents d1fffb4 + 1b2e704 commit cdc6447
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Source/santad/EventProviders/SNTEndpointSecurityManagerTest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ - (void)testDenyOnTimeout {

[mockES triggerHandler:&m];

[self waitForExpectationsWithTimeout:10.0
[self waitForExpectationsWithTimeout:30.0
handler:^(NSError *error) {
if (error) {
XCTFail(@"Santa auth test timed out without receiving two "
Expand Down Expand Up @@ -147,7 +147,7 @@ - (void)testDeleteRulesDB {
};
[mockES triggerHandler:&m];

[self waitForExpectationsWithTimeout:10.0
[self waitForExpectationsWithTimeout:30.0
handler:^(NSError *error) {
if (error) {
XCTFail(@"Santa auth test timed out with error: %@", error);
Expand Down Expand Up @@ -199,7 +199,7 @@ - (void)testSkipOtherESEvents {
};

[mockES triggerHandler:&m];
[self waitForExpectationsWithTimeout:10.0
[self waitForExpectationsWithTimeout:30.0
handler:^(NSError *error) {
if (error) {
XCTFail(@"Santa auth test timed out with error: %@", error);
Expand Down Expand Up @@ -261,7 +261,7 @@ - (void)testRenameOverwriteRulesDB {
};
[mockES triggerHandler:&m];

[self waitForExpectationsWithTimeout:10.0
[self waitForExpectationsWithTimeout:30.0
handler:^(NSError *error) {
if (error) {
XCTFail(@"Santa auth test timed out with error: %@", error);
Expand Down Expand Up @@ -334,7 +334,7 @@ - (void)testRenameRulesDB {
};
[mockES triggerHandler:&m];

[self waitForExpectationsWithTimeout:10.0
[self waitForExpectationsWithTimeout:30.0
handler:^(NSError *error) {
if (error) {
XCTFail(@"Santa auth test timed out with error: %@", error);
Expand Down
6 changes: 3 additions & 3 deletions Source/santad/SNTApplicationTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ - (void)checkBinaryExecution:(NSString *)binaryName
[santaInit fulfill];
});

[self waitForExpectationsWithTimeout:5.0
[self waitForExpectationsWithTimeout:30.0
handler:^(NSError *error) {
if (error) {
XCTFail(@"Santa's subscription to EndpointSecurity timed out "
Expand Down Expand Up @@ -104,7 +104,7 @@ - (void)checkBinaryExecution:(NSString *)binaryName
es_events_t event = {.exec = exec_event};
es_message_t m = {
.version = 4,
.mach_time = 181576143417379,
.mach_time = DISPATCH_TIME_NOW,
.deadline = DISPATCH_TIME_FOREVER,
.process = &proc,
.seq_num = 1,
Expand All @@ -116,7 +116,7 @@ - (void)checkBinaryExecution:(NSString *)binaryName
[mockES triggerHandler:&m];

[self
waitForExpectationsWithTimeout:5.0
waitForExpectationsWithTimeout:30.0
handler:^(NSError *error) {
if (error) {
XCTFail(
Expand Down

0 comments on commit cdc6447

Please sign in to comment.