Mitigate watch test flakiness

This commit is contained in:
Natalie Weizenbaum 2019-09-11 11:53:26 -07:00
parent 25fa4a772f
commit 24cd96665d
2 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,10 @@
// OS X's modification time reporting is flaky, so we skip these tests on it.
@TestOn('vm && !mac-os')
// File watching is inherently flaky at the OS level. To mitigate this, we do a
// few retries when the tests fail.
@Retry(3)
import 'package:test/test.dart';
import '../dart_test.dart';

View File

@ -6,6 +6,10 @@
@TestOn('vm && !mac-os')
@Tags(['node'])
// File watching is inherently flaky at the OS level. To mitigate this, we do a
// few retries when the tests fail.
@Retry(3)
import 'package:test/test.dart';
import '../../ensure_npm_package.dart';