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
/// We want this to be long enough that even a very large application being
/// compiled with dart2js doesn't trigger it, but short enough that it fires
/// before the host kills it. For example, Google's Forge service has a
/// 15-minute timeout.
final _timeout =constDuration(minutes:12);
The timeout for loading the test suit is fixed. I assume this the root cause for the issue that we have with running flutter test integration_test with heavy apps: flutter/flutter#105913:
12:00 +0 -1: loading /Users/runner/work/sharezone-app/sharezone-app/app/integration_test/app_test.dart [E]
TimeoutException after 0:12:00.000000: Test timed out after 12 minutes.
package:test_api/src/backend/invoker.dart 333:28 Invoker._handleError.<fn>
As the documentation of the variables says, determines this variable how long the test command tries to compile the application. Therefore, I assume that this is the issue.
People pass the --timeout flag (like --timeout none) to the flutter test command but are confused why their integration test timeout. To proper fix this issue, I think we need to make this timeout configure.
Another workaround would be to add the --ignoreTimeout flag of the Dart test command also the Flutter test command and pass it.
The text was updated successfully, but these errors were encountered:
test/pkgs/test_core/lib/src/runner/load_suite.dart
Lines 23 to 29 in db8cf09
The timeout for loading the test suit is fixed. I assume this the root cause for the issue that we have with running
flutter test integration_test
with heavy apps: flutter/flutter#105913:As the documentation of the variables says, determines this variable how long the test command tries to compile the application. Therefore, I assume that this is the issue.
People pass the
--timeout
flag (like--timeout none
) to theflutter test
command but are confused why their integration test timeout. To proper fix this issue, I think we need to make this timeout configure.Another workaround would be to add the
--ignoreTimeout
flag of the Dart test command also the Flutter test command and pass it.The text was updated successfully, but these errors were encountered: