Skip to content

migrate azure messaging servicebus tests to use token auth. #41032

Merged
anuchandy merged 29 commits into
mainfrom
test/anuchan/azure-messaging-servicebus-token-auth
Jul 9, 2024
Merged

migrate azure messaging servicebus tests to use token auth. #41032
anuchandy merged 29 commits into
mainfrom
test/anuchan/azure-messaging-servicebus-token-auth

Conversation

@anuchandy

@anuchandy anuchandy commented Jul 7, 2024

Copy link
Copy Markdown
Member

Migrated all tests to use federated identity, with following 2 exceptions –

  1. Three tests were there to validate API calls with AzureSasCredential and AzureNamedKeyCredential. These tests need connection string to produce Sas and key. This PR isolated those 3 tests to a separate class ServiceBusNonFederatedIntegrationTest. While this test class looks eligible for auxiliary tenant, at the moment this class runs in CI using connection string.
  2. One test was there to validate client secret credential, this one test is disabled and can be enabled if/when auxiliary tenant are available.

@azure-sdk

Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@anuchandy anuchandy changed the title migrate azure messaging servicebus token auth migrate azure messaging servicebus tests to use token auth. Jul 8, 2024
@anuchandy anuchandy force-pushed the test/anuchan/azure-messaging-servicebus-token-auth branch from 19f5e53 to 9f81080 Compare July 8, 2024 17:12
@anuchandy anuchandy marked this pull request as ready for review July 8, 2024 18:10
@anuchandy anuchandy force-pushed the test/anuchan/azure-messaging-servicebus-token-auth branch from 0dd3a66 to 3dd4402 Compare July 8, 2024 19:23

@conniey conniey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Just a couple of follow-up comments. :D 🥂

Comment thread sdk/servicebus/test-resources.json
@anuchandy anuchandy merged commit e6ef11b into main Jul 9, 2024
@anuchandy anuchandy deleted the test/anuchan/azure-messaging-servicebus-token-auth branch July 9, 2024 00:12
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