[Service Bus] Failed build service bus client in weekly pipeline test #27509
Labels
Client
This issue points to a problem in the data-plane of the library.
needs-team-triage
This issue needs the team to triage.
Service Bus
test-sovereign-cloud
Projects
Milestone
We are running live tests against other clouds like US Gov and Azure China Cloud. The goal is to check whether new azure sdk package work with other clouds or not.
Error Description:
When running the integration test ServiceBusClientBuilderTest.customNoneProxyConfigurationBuilder on Public and UsGov and China cloud, it returns the error
java.lang.IllegalStateException: Cannot build client without setting either a ***Name or ***Name.
. The error message is shown as following, for more details please check here.Error Tracking:
Code Link:
Expected Behavior:
The ServiceBus Client can also be builded successfully when using the connection string in this format [Endpoint=%s;SharedAccessKeyName=%s;SharedAccessKey=%s;EntityPath=%s].
Suggestion:
Update
if (CoreUtils.isNullOrEmpty(entityPath))
toif (!CoreUtils.isNullOrEmpty(entityPath))
@benbp, @joshfree, @lilyjma, @ramya-rao-a and @ZejiaJiang for notification.
The text was updated successfully, but these errors were encountered: