Skip to content

Commit 983dce7

Browse files
authored
[FormRecognizer] Enable StartBuildModelSucceedsWithValidPrefix (Azure#27708)
1 parent f3314c2 commit 983dce7

File tree

18 files changed

+25398
-2
lines changed

18 files changed

+25398
-2
lines changed

sdk/formrecognizer/Azure.AI.FormRecognizer/tests/DocumentModelAdministrationClient/DocumentModelAdministrationClientLiveTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,13 @@ public async Task StartBuildModelWithNeuralBuildMode()
113113
}
114114

115115
[RecordedTest]
116-
[Ignore("Issue https://github.com/Azure/azure-sdk-for-net-pr/issues/1442")]
117116
public async Task StartBuildModelSucceedsWithValidPrefix()
118117
{
119118
var client = CreateDocumentModelAdministrationClient();
120119
var trainingFilesUri = new Uri(TestEnvironment.BlobContainerSasUrl);
121120
var modelId = Recording.GenerateId();
122121

123-
BuildModelOperation operation = await client.StartBuildModelAsync(trainingFilesUri, DocumentBuildMode.Template, modelId, new BuildModelOptions() { Prefix = "subfolder" });
122+
BuildModelOperation operation = await client.StartBuildModelAsync(trainingFilesUri, DocumentBuildMode.Template, modelId, new BuildModelOptions() { Prefix = "subfolder/" });
124123

125124
await operation.WaitForCompletionAsync();
126125

sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/DocumentModelAdministrationClientLiveTests/StartBuildModelSucceedsWithValidPrefix.json

Lines changed: 209 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)