Skip to content

Commit

Permalink
Merge branch 'google:main' into replace-semaphore
Browse files Browse the repository at this point in the history
  • Loading branch information
mwyman authored Oct 6, 2022
2 parents a087755 + 54923d8 commit a162c0e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swiftpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
DESTINATION="platform=tvOS Simulator,name=Apple TV,OS=latest"
;;
watchos)
DESTINATION="platform=WatchOS Simulator,name=Apple Watch Series 7 - 45mm,OS=latest"
DESTINATION="platform=WatchOS Simulator,name=Apple Watch Series 7 (45mm),OS=latest"
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/GTMSessionFetcherFetchingTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -1903,7 +1903,7 @@ - (void)testInsecureRequests {
testResponse(nil, [NSData data], nil);
};

CREATE_START_STOP_NOTIFICATION_EXPECTATIONS(10, 10);
CREATE_START_STOP_NOTIFICATION_EXPECTATIONS(6, 6);

for (int i = 0; records[i].urlString; i++) {
NSString *urlString = records[i].urlString;
Expand Down
2 changes: 2 additions & 0 deletions UnitTests/GTMSessionFetcherServiceTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ - (void)testConcurrentCallbackQueue {
if (!_isServerRunning) return;

GTMSessionFetcherService *service = [[GTMSessionFetcherService alloc] init];
service.allowLocalhostRequest = YES;
[service setConcurrentCallbackQueue:dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0)];

XCTestExpectation *progressExpectation = [self expectationWithDescription:@"progress block"];
Expand Down Expand Up @@ -1541,6 +1542,7 @@ - (void)testFetcherUsingMetricsCollectionBlockFromFetcherService API_AVAILABLE(i
__block NSURLSessionTaskMetrics *collectedMetrics = nil;

GTMSessionFetcherService *service = [[GTMSessionFetcherService alloc] init];
service.allowLocalhostRequest = YES;
service.metricsCollectionBlock = ^(NSURLSessionTaskMetrics *_Nonnull metrics) {
collectedMetrics = metrics;
};
Expand Down

0 comments on commit a162c0e

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy