-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageCognitive - Form RecognizerCognitive Servicestest-reliabilityIssue that causes tests to be unreliableIssue that causes tests to be unreliable
Milestone
Description
Description
Tests in FormTrainingClientLiveTests are not deleting the models trained for testing upon completion. The DisposableTrainedModel class is used for this purpose in FormRecognizerClientLiveTests.
Edit: some tests in OperationsLiveTests have the same issue.
Should we do the same in the FormTrainingClient live tests? Or would it be better to NOT wrap the StartTraining call in a separate class, making it an explicit call and relying on try/finally blocks to delete the models? The later would make sense in methods whose sole objective is testing the StartTraining method, while the former would be used in methods where training is only one of the steps of the test.
Metadata
Metadata
Assignees
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageCognitive - Form RecognizerCognitive Servicestest-reliabilityIssue that causes tests to be unreliableIssue that causes tests to be unreliable