mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Disable flakey CountDownLatchTest.CanWait unit test on Fuchsia (flutter/engine#15982)
This commit is contained in:
parent
08b9dbacf8
commit
86f501cbd8
@ -5,6 +5,7 @@
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
#include "flutter/fml/build_config.h"
|
||||
#include "flutter/fml/synchronization/count_down_latch.h"
|
||||
#include "flutter/fml/thread.h"
|
||||
#include "flutter/testing/testing.h"
|
||||
@ -16,6 +17,11 @@ TEST(CountDownLatchTest, CanWaitOnZero) {
|
||||
latch.Wait();
|
||||
}
|
||||
|
||||
#if OS_FUCHSIA
|
||||
#define CanWait DISABLED_CanWait
|
||||
#else
|
||||
#define CanWait CanWait
|
||||
#endif
|
||||
TEST(CountDownLatchTest, CanWait) {
|
||||
fml::Thread thread("test_thread");
|
||||
const size_t count = 100;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user