Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Tests/Unit/InstallationIdentifierUnitTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ - (void)testCachedInstallationId {

- (void)testInstallationIdentifierThreadSafe {
PFInstallationIdentifierStore *store = [Parse _currentManager].installationIdentifierStore;
[store clearInstallationIdentifier];
[[store clearInstallationIdentifierAsync] waitForResult:nil];
dispatch_apply(100, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^(size_t iteration) {
[store installationIdentifier];
[store clearInstallationIdentifier];
[store getInstallationIdentifierAsync];
[store clearInstallationIdentifierAsync];
});
}

Expand Down