dart-lang / webdev

A CLI for Dart web development.
https://pub.dev/packages/webdev
212 stars 75 forks source link

Flaky test in debug_extension_test.dart #1513

Closed annagrin closed 2 years ago

annagrin commented 2 years ago

This makes our tests fail periodically and requires a rerun, which is costly. See example: https://github.com/dart-lang/webdev/runs/5236550933?check_suite_focus=true

14:22 +351 ~4 -1: test/debug_extension_test.dart: WebSockets With an internal Dart app can launch DevTools [E]                                                                                         
  Expected: 'Dart DevTools'
    Actual: ''
     Which: is different. Both strings start the same, but the actual value is missing the following trailing characters: Dart DevTo ...

  package:test_api                       expect
  test/debug_extension_test.dart 135:11  main.<fn>.<fn>.<fn>
elliette commented 2 years ago

Closing in favor of https://github.com/dart-lang/webdev/issues/1512