question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test execution hanging on 47.0.2

See original GitHub issue

Steps to Reproduce

Open a flutter project, run test on all files in a directory or a specific file => The IDE hangs forever and no progress on the tests

This started happening when I updated the plugin to 47.0.2

flutter test command works as expected Plugin 46.0.2 works as expected

Version info

[✓] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.5 19F101, locale fr-FR)
    • Flutter version 1.17.4 at /Users/alanmantoux/flutter
    • Framework revision 1ad9baa8b9 (10 days ago), 2020-06-17 14:41:16 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/alanmantoux/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.8.4

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
helin24commented, Aug 6, 2020

@cohenadair thanks for this report. There are two issues here, not being able to run all tests in a project (can follow here - https://github.com/flutter/flutter-intellij/issues/4737) and the debug option being greyed out (can follow here - https://github.com/flutter/flutter-intellij/issues/4742). Hoping to make progress on both of these soon.

1reaction
helin24commented, Jun 29, 2020

Reverting and we will be releasing this soon: https://github.com/flutter/flutter-intellij/pull/4673

For those that are still having this problem, you can use an older version of the flutter plugin (before v 47) or run tests in debug mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Howto resolve .net test hangs on "Starting test execution ...
Sometimes xUnit tests hang forever because the test runner pipeline can't handle parallel threads. To check ...
Read more >
test execution stuck - Salesforce Developer Community
1. Abort any running tests under Apex Test Execution. · 2. Go to View Test History and clear all entries. · 3. Attempt...
Read more >
Test Run hangs after executing few steps without giving any ...
Execution test case doesn't proceed further and it just sits at a random step. I have to stop the test manually and run...
Read more >
Azure Pipelines keeps showing Starting test-execution, please ...
Steps. 1. Start new pipeline containing Visual Studio Test task. 2. Go to release pipeline result > logs > agent job. 3. Look...
Read more >
executionTimeAllowance | Apple Developer Documentation
Use this property to guard against long-running or hanging tests; use performance tests to precisely measure execution time and guard against regressions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found