Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(ivy): R3TestBed should clean up registered modules after each test #32872
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
What is the current behavior?
TestBed does not reset the registered modules after each test. Some tests can fail if they are depending on some custom deferred loading module system that: 1. attempts to load the module and if it fails, force compilation and 2. overrideProviders on the module with different values in different tests. The current behavior is that after the first registration, the module is never reregistered so its overrides don't work after the first run.
Does this PR introduce a breaking change?
If you want your PR to be merged, it has to pass all the CI checks.
If you can't get the PR to a green state due to flakes or broken master, please try rebasing to master and/or restarting the CI job. If that fails and you believe that the issue is not due to your change, please contact the caretaker and ask for help.
This issue has been automatically locked due to inactivity.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.