0a3ca5a098
The findRoot method made assumptions that were only true when running the test in the main shard of our test runners. This caused a few tests to start failing when sharding was enabled in: https://github.com/dart-lang/sdk/commit/089364baab3a6d3fc1a35a1f2d270cf1fb772a40 Fixes #53059 Change-Id: I32c59d6ae396fba5cbf19491eb17d7b90a7b8cd9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/316642 Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>