-
Notifications
You must be signed in to change notification settings - Fork 8
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
Memoised resources test is flaky #102
Comments
This comment was copied over from: disneystreaming/weaver-test#475 (comment) Now that CE3 has some proper test kit, we should be using it whenever relevant ... but that implies dropping CE2. Which I'm happy to do at this time. |
This comment was copied over from: disneystreaming/weaver-test#475 (comment) I wonder if I ran into this feature. I'm working on a codebase where we are using |
This comment was copied over from: disneystreaming/weaver-test#475 (comment) mcanlas the Memoized resource that backs the In the situation where a suite that uses the memoized resource would finish before a second suite that uses the same memoized resource starts, the resource would clean up after the first suite ends, and be re-initialised after the second suite starts. We cannot guarantee that it won't happen, because weaver has zero control over how many suites are run in parallel, that decision belongs to the build tool. The reason this why this test is flaky is that it relies on actual sleeps, which makes any suite inherently flaky if they don't use CE's TestControl construct. |
This issue was copied over from: disneystreaming/weaver-test#475
It was opened by: keynmol
Not sure if it pops up more often because we're going through more SS updates or what.
Sample build: https://github.com/disneystreaming/weaver-test/runs/5133422123?check_suite_focus=true
Another one: https://github.com/disneystreaming/weaver-test/runs/4781690405?check_suite_focus=true
The text was updated successfully, but these errors were encountered: