7e8a203f1e
This test returned a future, which in other runtimes may mean that the test would not be awaited for. The test-runner for DDC does include extra asyncStart/asyncEnd to ensure the test runs to completion. However, this sporadically caused double reporting and flaky failures ([example][1]). This change makes the test itself track the async nature of the test, just like we do in most other tests today. [1]: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8766055193681740753/+/u/test_results/ignored_flaky_test_failure_logs Change-Id: Ib0edab197db21026d38b40036a1eeaf6edff5ad6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/333300 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.