Skip to content

[service-bus / eventhubs] - Fix browser tests#19244

Merged
maorleger merged 4 commits intoAzure:mainfrom
maorleger:fix-servicebus-rollup
Dec 12, 2021
Merged

[service-bus / eventhubs] - Fix browser tests#19244
maorleger merged 4 commits intoAzure:mainfrom
maorleger:fix-servicebus-rollup

Conversation

@maorleger
Copy link
Copy Markdown
Member

@maorleger maorleger commented Dec 10, 2021

What

  • Patch service-bus and event-hubs' rollup config with custom plugins that are required for test runs
  • Replace assert with chai

Why

Ok, we tried! We tried to use the shared rollup config across packages but unfortunately service-bus event-hubs are and will likely remain a special case due to the various dependencies it pulls in. We identified a few fixable issues but there are some
that will not be easily resolved.

So, working with Will we decided a reasonable compromise is to use the shared config but patch the plugins so that they
match what they were before the recent changes.

In passing, I am also removing any imports of the assert module as that has been removed and the tests are failing. So this
should fix that as well.

@ghost ghost added the Service Bus label Dec 10, 2021
@maorleger
Copy link
Copy Markdown
Member Author

/azp run js - service-bus - tests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@maorleger maorleger changed the title fix service-bus [service-bus] - Fix browser tests Dec 10, 2021
@maorleger maorleger marked this pull request as ready for review December 10, 2021 23:38
@maorleger maorleger changed the title [service-bus] - Fix browser tests [service-bus / eventhubs] - Fix browser tests Dec 11, 2021
@maorleger
Copy link
Copy Markdown
Member Author

/azp run js - event-hubs - tests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Member

@jeremymeng jeremymeng left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment thread sdk/servicebus/service-bus/rollup.test.config.js Outdated
@maorleger
Copy link
Copy Markdown
Member Author

/azp run js - service-bus - tests

@maorleger
Copy link
Copy Markdown
Member Author

/azp run js - event-hubs - tests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@maorleger maorleger force-pushed the fix-servicebus-rollup branch from a67476c to 6fc3bdc Compare December 11, 2021 20:13
@maorleger maorleger merged commit ef16743 into Azure:main Dec 12, 2021
@maorleger maorleger deleted the fix-servicebus-rollup branch December 12, 2021 00:55
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