Skip to content

Commit

Permalink
Reduce the depth used in a test that applies finders to deep widget t…
Browse files Browse the repository at this point in the history
…rees (flutter#151049)

With today's random test order (--test-randomize-ordering-seed=20240629) this test is failing due to stack overflows when run on Windows.
  • Loading branch information
jason-simmons authored Jun 29, 2024
1 parent e1feb72 commit 38af6be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/flutter_test/test/finders_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -770,11 +770,11 @@ void main() {
Directionality(
textDirection: TextDirection.ltr,
child: _deepWidgetTree(
depth: 1000,
depth: 500,
child: Row(
children: <Widget>[
_deepWidgetTree(
depth: 1000,
depth: 500,
child: const Column(children: fooBarTexts),
),
],
Expand Down

0 comments on commit 38af6be

Please sign in to comment.