Set async timeout to longer than request timeout
This commit is contained in:
parent
75bd257ffe
commit
d10421e511
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)testThatCancellationOfRequestOperationInvokesFailureCompletionBlock {
|
- (void)testThatCancellationOfRequestOperationInvokesFailureCompletionBlock {
|
||||||
|
[Expecta setAsynchronousTestTimeout:10.0];
|
||||||
|
|
||||||
__block NSError *blockError = nil;
|
__block NSError *blockError = nil;
|
||||||
|
|
||||||
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/delay/5" relativeToURL:self.baseURL]];
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/delay/5" relativeToURL:self.baseURL]];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue