Skip to content

[FR] Adjust tests and re record#22065

Merged
maririos merged 1 commit intoAzure:mainfrom
maririos:frtests
Jun 22, 2021
Merged

[FR] Adjust tests and re record#22065
maririos merged 1 commit intoAzure:mainfrom
maririos:frtests

Conversation

@maririos
Copy link
Copy Markdown
Member

FR team recently made deployment and fixed their error codes and the behavior across endpoints to always do parameter validation on POST and not GET operation.

This PR updates tests to reflect that.

It fixes:

@maririos
Copy link
Copy Markdown
Member Author

/azp run net - formrecognizer - tests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Assert.AreEqual("2003", ex.ErrorCode);
Assert.True(operation.HasCompleted);
Assert.False(operation.HasValue);
Assert.AreEqual("2001", ex.ErrorCode);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wondering, did you see this change in both canary and prod?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw it in both. Because I only run canary on the weekends, prod started failing on Friday, so idk if in the middle of the week Canary already had the changes

@maririos maririos merged commit 42039d1 into Azure:main Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants