Skip to content

[skip-changelog] Add function to spawn a server that responds with error code #1936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

MatteoPologruto
Copy link
Contributor

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?

Infrastructure enhancement

What is the new behavior?

Added a function that spawns a server that responds with a given error code to requests. It will be useful during the migration of integration tests like core_test and upload_test.

Does this PR introduce a breaking change, and is titled accordingly?

No

@MatteoPologruto MatteoPologruto added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Oct 21, 2022
@MatteoPologruto MatteoPologruto self-assigned this Oct 21, 2022
@MatteoPologruto MatteoPologruto marked this pull request as ready for review October 21, 2022 10:41
@MatteoPologruto MatteoPologruto merged commit f0479ba into arduino:master Oct 21, 2022
@MatteoPologruto MatteoPologruto deleted the serve-file-error branch October 21, 2022 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants