Skip to content

Commit

Permalink
Set async timeout to longer than request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonmcdonald committed Jul 25, 2013
1 parent 75bd257 commit d10421e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/AFHTTPRequestOperationTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ - (void)testThatCancellationOfRequestOperationSetsError {
}

- (void)testThatCancellationOfRequestOperationInvokesFailureCompletionBlock {
[Expecta setAsynchronousTestTimeout:10.0];

__block NSError *blockError = nil;

NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/delay/5" relativeToURL:self.baseURL]];
Expand Down

0 comments on commit d10421e

Please sign in to comment.