Disable flakey CountDownLatchTest.CanWait unit test on Fuchsia (flutter/engine#15982)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user