Skip to content

Commit 38af6be

Browse files
Reduce the depth used in a test that applies finders to deep widget trees (#151049)
With today's random test order (--test-randomize-ordering-seed=20240629) this test is failing due to stack overflows when run on Windows.
1 parent e1feb72 commit 38af6be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter_test/test/finders_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,11 +770,11 @@ void main() {
770770
Directionality(
771771
textDirection: TextDirection.ltr,
772772
child: _deepWidgetTree(
773-
depth: 1000,
773+
depth: 500,
774774
child: Row(
775775
children: <Widget>[
776776
_deepWidgetTree(
777-
depth: 1000,
777+
depth: 500,
778778
child: const Column(children: fooBarTexts),
779779
),
780780
],

0 commit comments

Comments
 (0)