Skip to content

Commit 65ba170

Browse files
committed
Update test net tasks.
1 parent 3ac5cb0 commit 65ba170

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

STNetTaskQueueTest/STNetTaskQueueTest/STNetTaskQueueTestHTTP.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ - (void)testRetryNetTask
5353
[[STNetTaskQueue sharedQueue] addTaskDelegate:self uri:testRetryTask.uri];
5454
[[STNetTaskQueue sharedQueue] addTask:testRetryTask];
5555

56-
[self waitForExpectationsWithTimeout:10 handler:nil];
56+
[self waitForExpectationsWithTimeout:20 handler:nil];
5757
}
5858

5959
- (void)testCancelNetTask

STNetTaskQueueTest/STNetTaskQueueTest/STTestMaxConcurrentTasksCountNetTask.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ - (void)didRetry
2222

2323
- (NSUInteger)maxRetryCount
2424
{
25-
return 3;
25+
return 1;
2626
}
2727

2828
@end

0 commit comments

Comments
 (0)