-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#53996Closed
Copy link
Labels
team-engineOwned by Engine teamOwned by Engine team
Description
The test here
Added after the await here
Can race with the start of tests running, leading to failures like:
[ERROR:flutter/shell/testing/tester_main.cc(671)] Unhandled exception
Exception: Bad state: Test "Scaling a checkerboard of 1x1 red-green pixels with FilterQuality.none" added after tests have started to run. Calls to test() must be synchronous with main().
Stack trace: #0 TestSuite.test (package:litetest/src/test_suite.dart:37:7)
#1 test (package:litetest/litetest.dart:25:14)
#2 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/src/flutter/testing/dart/image_filter_test.dart:356:5)
<asynchronous suspension>
Metadata
Metadata
Assignees
Labels
team-engineOwned by Engine teamOwned by Engine team