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

[Service Bus] Fix integration test failure on master #11122

Merged

Conversation

HarshaNalluru
Copy link
Member

No description provided.

@ghost ghost added the Service Bus label Sep 8, 2020
@HarshaNalluru HarshaNalluru changed the title [Service Bus] Fix integration test failure [Service Bus] Fix integration test failure on master Sep 8, 2020
@@ -380,10 +380,16 @@ describe("Sender Tests", () => {
});

describe("ServiceBusMessage validations", function(): void {
const sbClient = new ServiceBusClient(
"Endpoint=sb://a;SharedAccessKeyName=b;SharedAccessKey=c;EntityPath=d"
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't removing the EntityPath=d" from the connection string have been enough to fix the test?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that is enough.
However, since this code was not part of any before section, this gets executed before mocha reports the describe block as being run, which makes it non-trivial to know where the failure is.
image

Making it part of the before section would help pinpoint this describe block if a failure happens.

@KarishmaGhiya
Copy link
Member

/check-enforcer evaluate

@weshaggard weshaggard merged commit e1337a9 into Azure:master Sep 9, 2020
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.

4 participants