Skip to content
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

test: run supported tests with emulators #1564

Merged
merged 41 commits into from
Dec 20, 2024
Merged

Conversation

hallvictoria
Copy link
Contributor

@hallvictoria hallvictoria commented Aug 16, 2024

Description

Converts blob, table, queue, generic, event hub, and service bus tests to run using emulators.
Updates CODEOWNERS file, adds retries for flaky unit tests.

  • Adds a new workflow for running these tests: ci-emulator-tests.yml
    • This workflow will run as part of the public build and official build
    • It can be run as part of the public build because it doesn't have any secrets
    • It can also be run with sdk and extensions releases
  • Refactors these tests into a new emulator_tests folder
    • This means that those tests will no longer interact with prod resources and skips them for the E2E tests
  • EventHub / Service Bus emulator support:
    • Resources defined in config.json
    • Emulator started in docker-compose.yml
    • Since the EH and SB emulators require the same port, they cannot be run at the same time

Fixes #


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made and CI is passing.

Quality of Code and Contribution Guidelines

@hallvictoria hallvictoria changed the title test: run emulators for blob, table, queue tests test: run supported tests with emulators Aug 16, 2024
@hallvictoria hallvictoria marked this pull request as ready for review September 3, 2024 17:38
eng/ci/emulator-tests.yml Show resolved Hide resolved
tests/emulator_tests/utils/servicebus/docker-compose.yml Outdated Show resolved Hide resolved
tests/endtoend/test_worker_process_count_functions.py Outdated Show resolved Hide resolved
@hallvictoria hallvictoria merged commit ed26bd0 into dev Dec 20, 2024
31 of 33 checks passed
@hallvictoria hallvictoria deleted the hallvictoria/emulators branch December 20, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants