Skip to content

Commit

Permalink
Merge branch 'master' into xml_sax2
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Jan 15, 2025
2 parents b5e0ef1 + 5926e58 commit caba32d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/base/NSOperation/concurrent.m
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ int main()
}
}
PASS((ran == want), "many operations, all were performed")
PASS((f - s) < 0.5, "concurrent test duration")
NSLog(@"Duration for %d concurrent operations %g seconds.", want, (f - s));

// multiple concurrent operations
[q setMaxConcurrentOperationCount: 5];
Expand Down
3 changes: 2 additions & 1 deletion Tests/base/NSOperation/perform.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ int main()
[q waitUntilAllOperationsAreFinished];
f = [NSDate timeIntervalSinceReferenceDate];
PASS([o counter] == want, "expected number of operations")
PASS((f - s) < 0.5, "sequential test duration")
NSLog(@"Duration for %d sequential operations %g seconds.", want, (f - s));


[o reset];
[q addOperationWithTarget: o
Expand Down

0 comments on commit caba32d

Please sign in to comment.