Spawn no more than 1 iframe in web tests. Using multiple iframes in DDK mode times out tests. Also set concurrency to 1 to guarantee that the test runner does not even attempt to parallelize tests. (#40630)
Spawn no more than 1 iframe in web tests. Using multiple iframes in DDK mode times out tests. Also set concurrency to 1 to guarantee that the test runner does not even attempt to parallelize tests.
This commit is contained in:
@@ -468,9 +468,9 @@ Future<void> _runTests() async {
|
||||
Future<void> _runWebTests() async {
|
||||
// TODO(yjbanov): re-enable when web test cirrus flakiness is resolved
|
||||
await _runFlutterWebTest(path.join(flutterRoot, 'packages', 'flutter'), tests: <String>[
|
||||
'test/foundation/',
|
||||
'test/physics/',
|
||||
// TODO(yjbanov): re-enable when flakiness is resolved
|
||||
// 'test/foundation/',
|
||||
// 'test/physics/',
|
||||
// 'test/rendering/',
|
||||
// 'test/services/',
|
||||
// 'test/painting/',
|
||||
@@ -801,6 +801,8 @@ Future<void> _runFlutterWebTestBatch(String workingDirectory, {
|
||||
}) async {
|
||||
final List<String> args = <String>[
|
||||
'test',
|
||||
if (_getCiProvider() == CiProviders.cirrus)
|
||||
'--concurrency=1', // do not parallelize on Cirrus to reduce flakiness
|
||||
'-v',
|
||||
'--platform=chrome',
|
||||
...?flutterTestArgs,
|
||||
|
||||
Reference in New Issue
Block a user