Skip to content

Commit

Permalink
Disable flakey CountDownLatchTest.CanWait unit test on Fuchsia (#15982)
Browse files Browse the repository at this point in the history
  • Loading branch information
George Wright committed Jan 25, 2020
1 parent 4218f80 commit 1e7a9de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fml/synchronization/count_down_latch_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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;
Expand Down

0 comments on commit 1e7a9de

Please sign in to comment.