You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dgozman
Thank you for addressing this issue.
Few words regarding our use case:
In every test, we are uploading test related resources to our servers. We don't want this long operation to block the worker from proceeding the run with other tests, that's why we use fixtures to wait for this operation to be completed during worker's teardown.
As a workaround, we have placed the waiting in an afterAll clause added to every test file, but performance-wise it's a terrible idea as the worker is stopped from running the next test file until the upload operation is completed.
Having the ability to use worker-scope teardown could make our (and our some of our clients) test-suite twice as fast.
I hope this explanation shed some light on why this issue is important for us, I'm here to help so please let me know if there's anything I can explain or do better.
Thank you very much! 🙏
Version
1.43.1
Steps to reproduce
git clone git@github.com:NoamGaash/never-ending-fixture.git
Expected behavior
"Fixture teardown starts"
and"Fixture teardown ends"
log messages"will never be thrown"
to be thrownActual behavior
Additional context
The documentation states that:
That's why I believe timeouts are expected to work for worker-scoped fixtures.
Environment
The text was updated successfully, but these errors were encountered: