-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Event Hubs] Add tests for browser mode #2809
Comments
Regarding the test failures surfaced by #3445, following is a summary -
If not resolved as part of #3445, will be tracking these issues separately. |
Also, regarding what tests to run in browser, given recent findings and that there is no specific pattern in the browser test failures, all tests seem to be relevant in context of browsers. Hence the proposal would be to run all of them in browser. Edit:
|
Event Hubs has a much smaller set of tests when compared to Service Bus, so I am fine running all the tests in browser as well. |
Regarding the Websocket error in the test cases for IotHub, please log a new issue. It could very well be the case that IotHub service does not support Websockets. If that is indeed the case, then we need to update |
Got it, logged #3473 for the iotHub testcases. |
Discussed offline, was able to get this PR working fine with npm. Just as we did for #2163, which eventually resulted in us needing more investigation on rush+rollup #3326, we will need work from #3326 to help with troubleshooting EventHubs browser test CI runs as well. As a summary of findings so far - the problematic references that I was grappling with is mainly Buffer. De-duping seems to make a difference to being able to even locate the references. And 'Buffer' in case of EventHubs seems somewhat tied with 'util'. Needs investigation just like what we did/doing for #3119 / #3326. |
Please correct me if I am wrong here
If the above is true then I suggest to
|
No, that's not true - de-duping was required to work with npm as well. Current changes are not working with rush inspite of de-duping. Some other workaround may be required which will require same work as being done in #3326. |
Thanks for the clarification! Since we are not completely comfortable with the very act of de-duping 1 dependency (Buffer for Service Bus, thus the issue of #3326), I would say let's not introduce 4 more de-dupes until we know more about why rush needs this. My proposal:
|
With #3326 now resolved, we should aim at enabling the browser tests in CI in the current sprint |
#5345 Added the final piece for getting browser CI working. Closing! |
Just like what we are doing for Service Bus in #2163 , we need to do the same for Event Hubs
This task needs to be taken up after the #2808 is done
The text was updated successfully, but these errors were encountered: