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

Update Web Pub Sub test recordings #35848

Merged
merged 18 commits into from
Jul 13, 2023
Merged

Conversation

conniey
Copy link
Member

@conniey conniey commented Jul 12, 2023

Description

  • Updates test-resources.bicep to create and configure the resource properly.
  • Updates test recordings to use test proxy.
  • Adds missing tests for async client.

Related: #33342

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@conniey conniey self-assigned this Jul 12, 2023
@conniey conniey force-pushed the webpubsub/test-recordings branch from e50722f to 1838458 Compare July 12, 2023 20:27
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@conniey conniey force-pushed the webpubsub/test-recordings branch from 1838458 to 5ab572d Compare July 12, 2023 20:36
@ParameterizedTest
@MethodSource("getTokenOptions")
@DoNotRecord
Copy link
Member

Choose a reason for hiding this comment

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

did we ad @DonotRecord here?

Copy link
Member Author

@conniey conniey Jul 12, 2023

Choose a reason for hiding this comment

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

Yeah, The recording is always empty because no network calls are made when using a connection string. Seemed wasteful to have 7 recordings that are empty being uploaded. ;/

Copy link
Member

Choose a reason for hiding this comment

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

If this class isn't recording anything we should make this a normal unit tests and remove the extends TestProxyTestBase.

Copy link
Member Author

Choose a reason for hiding this comment

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

The other tests in this class do make network calls. :/

@conniey conniey changed the title Webpubsub/test recordings Update Web Pub Sub test recordings Jul 12, 2023
@conniey conniey force-pushed the webpubsub/test-recordings branch 2 times, most recently from 5a35b92 to 11195fb Compare July 13, 2023 04:23
@conniey conniey force-pushed the webpubsub/test-recordings branch from 11195fb to 0127dd6 Compare July 13, 2023 05:36
@conniey conniey enabled auto-merge (squash) July 13, 2023 18:33
@conniey conniey force-pushed the webpubsub/test-recordings branch from c1c0043 to e7422a1 Compare July 13, 2023 18:39
@conniey conniey force-pushed the webpubsub/test-recordings branch from e7422a1 to f4d7487 Compare July 13, 2023 18:47
@conniey conniey merged commit 92529dc into Azure:main Jul 13, 2023
@conniey conniey deleted the webpubsub/test-recordings branch July 13, 2023 19:01
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.

4 participants