Skip to content

Flaky: widget_preview_detection_test #187514

Description

@jtmcdole

this is causing Linux tool_integration_tests_4_7 to fail randomly.

 Bad state: Preview was lost after modification!
 #0      main.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/x/w/flutter/packages/flutter_tools/test/integration.shard/widget_preview_detection_test.dart:229:9)
 <asynchronous suspension>
 #1      testUsingContext.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/x/w/flutter/packages/flutter_tools/test/src/context.dart:149:32)
 <asynchronous suspension>
 #2      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
 <asynchronous suspension>
 #3      testUsingContext.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/x/w/flutter/packages/flutter_tools/test/src/context.dart:138:28)
 <asynchronous suspension>
 04:58 +7 ~12 -1: test/integration.shard/widget_preview_detection_test.dart: widget-preview detection Modified previews are detected (LSP) [E]
   Bad state: Preview was lost after modification!
   test/integration.shard/widget_preview_detection_test.dart 229:9  main.<fn>.<fn>
   ===== asynchronous gap ===========================
   test/src/context.dart 149:32                                     testUsingContext.<fn>.<fn>.<fn>.<fn>.<fn>
   ===== asynchronous gap ===========================
   package:flutter_tools/src/base/context.dart 154:19               AppContext.run.<fn>
   ===== asynchronous gap ===========================
   test/src/context.dart 138:28                                     testUsingContext.<fn>.<fn>.<fn>.<fn>
   

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: widget previewsIssues related to the Widget Previewer toolingc: flakeTests that sometimes, but not always, incorrectly passteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions