Increased wait time for image classifier asynchronous tests
This commit is contained in:
@@ -652,7 +652,7 @@ static NSString *const kLiveStreamTestsDictExpectationKey = @"expectation";
|
||||
}];
|
||||
AssertEqualErrors(error, expectedError);
|
||||
|
||||
[self waitForExpectations:@[ expectation ] timeout:1e-2f];
|
||||
[self waitForExpectations:@[ expectation ] timeout:0.5f];
|
||||
}
|
||||
|
||||
- (void)testClassifyWithLiveStreamModeSucceeds {
|
||||
@@ -699,7 +699,7 @@ static NSString *const kLiveStreamTestsDictExpectationKey = @"expectation";
|
||||
XCTAssertTrue([imageClassifier classifyAsyncImage:image timestampInMilliseconds:i error:nil]);
|
||||
}
|
||||
|
||||
[self waitForExpectations:@[ expectation ] timeout:1e-2f];
|
||||
[self waitForExpectations:@[ expectation ] timeout:0.5f];
|
||||
}
|
||||
|
||||
- (void)imageClassifier:(MPPImageClassifier *)imageClassifier
|
||||
|
||||
Reference in New Issue
Block a user