From b257f6eac0f8127fcc9f70deccfb45823c7f094a Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Mon, 30 Jan 2017 20:11:01 -0800 Subject: [PATCH] Make tests more resilient to timing. (#7753) These tests would fail sometimes when run locally. Since they happen to also be the ones that are flaky on bots, maybe there's some relationship, even though the failure mode on bots is different. In any case, this removes a variable. --- .../flutter_test/test_async_utils_guarded_expectation.txt | 2 +- .../flutter_test/test_async_utils_unguarded_expectation.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/automated_tests/flutter_test/test_async_utils_guarded_expectation.txt b/dev/automated_tests/flutter_test/test_async_utils_guarded_expectation.txt index ee5901b980..4601a54d68 100644 --- a/dev/automated_tests/flutter_test/test_async_utils_guarded_expectation.txt +++ b/dev/automated_tests/flutter_test/test_async_utils_guarded_expectation.txt @@ -1,4 +1,4 @@ -.*(this line contains the test framework's output with the clock and so forth)? +[^═]*(this line contains the test framework's output with the clock and so forth)? ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following assertion was thrown running a test: Guarded function conflict\. You must use "await" with all Future-returning test APIs\. diff --git a/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt b/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt index b07f651b7c..de235682d0 100644 --- a/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt +++ b/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt @@ -1,4 +1,4 @@ -.*(this line contains the test framework's output with the clock and so forth)? +[^═]*(this line contains the test framework's output with the clock and so forth)? ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following assertion was thrown running a test: Guarded function conflict\. You must use "await" with all Future-returning test APIs\.