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
I've run into this test timeout issue on DDC again: #1043 . I'm using the 1.9.4 release of the test package, so I should have the fix that that was put in place to addressed that issue. Once again, the issue is only happening in CI (where we run on Linux VMs) and not on a local Macbook pro. I've debugged this on a Linux VM and found that when the timeout occurs there is a requirejs error in the chrome dev console:
Uncaught Error: Load timeout for modules: language_test.dart.browser_test.dart.bootstrap
http://requirejs.org/docs/errors.html#timeout
at makeError (:41593/RtPbIlR80P1hudA2GrzJ2EH6l95nHTOA/test/packages/build_web_compilers/src/dev_compiler/require.js:168)
at checkLoaded (:41593/RtPbIlR80P1hudA2GrzJ2EH6l95nHTOA/test/packages/build_web_compilers/src/dev_compiler/require.js:698)
at :41593/RtPbIlR80P1hudA2GrzJ2EH6l95nHTOA/test/packages/build_web_compilers/src/dev_compiler/require.js:719
I've tried setting the requirejs waitSeconds setting to 0. When I do that the suite loads consistently, but then I see a unit test timeout after ~30 seconds.
I have found a workaround, which is to set concurrency to 1, which surprised me a bit. I don't have good repro steps at this time, as we've only encountered this on one of our many, many internal Dart projects.
Dart version: 2.6.1
Chrome: 78
The text was updated successfully, but these errors were encountered:
I just ran our unit tests in CI 30 times without the concurrency workaround applied and the tests passed every time. So it appears this is no longer an issue for us. Just fyi, we're running tests using build_test.
I've run into this test timeout issue on DDC again: #1043 . I'm using the
1.9.4
release of the test package, so I should have the fix that that was put in place to addressed that issue. Once again, the issue is only happening in CI (where we run on Linux VMs) and not on a local Macbook pro. I've debugged this on a Linux VM and found that when the timeout occurs there is a requirejs error in the chrome dev console:Uncaught Error: Load timeout for modules: language_test.dart.browser_test.dart.bootstrap http://requirejs.org/docs/errors.html#timeout at makeError (:41593/RtPbIlR80P1hudA2GrzJ2EH6l95nHTOA/test/packages/build_web_compilers/src/dev_compiler/require.js:168) at checkLoaded (:41593/RtPbIlR80P1hudA2GrzJ2EH6l95nHTOA/test/packages/build_web_compilers/src/dev_compiler/require.js:698) at :41593/RtPbIlR80P1hudA2GrzJ2EH6l95nHTOA/test/packages/build_web_compilers/src/dev_compiler/require.js:719
I've tried setting the requirejs
waitSeconds
setting to0
. When I do that the suite loads consistently, but then I see a unit test timeout after ~30 seconds.I have found a workaround, which is to set concurrency to
1
, which surprised me a bit. I don't have good repro steps at this time, as we've only encountered this on one of our many, many internal Dart projects.Dart version: 2.6.1
Chrome: 78
The text was updated successfully, but these errors were encountered: