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