Increased wait time for image classifier asynchronous tests

This commit is contained in:
Prianka Liz Kariat 2023-05-04 19:51:54 +05:30
parent ddd1515f88
commit 33ae23c53a

View File

@ -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