Index: test/unittests/base/platform/time-unittest.cc |
diff --git a/test/unittests/base/platform/time-unittest.cc b/test/unittests/base/platform/time-unittest.cc |
index 9aa609f4c12a894f5fd164ec47800e6aa88cc05c..8b81eb90d666956f9299a595797d5fdf8049524d 100644 |
--- a/test/unittests/base/platform/time-unittest.cc |
+++ b/test/unittests/base/platform/time-unittest.cc |
@@ -186,7 +186,6 @@ TEST(TimeTicks, IsMonotonic) { |
} |
-// Disable on windows until it is implemented. |
#if V8_OS_ANDROID |
#define MAYBE_ThreadNow DISABLED_ThreadNow |
#else |
@@ -194,6 +193,7 @@ TEST(TimeTicks, IsMonotonic) { |
#endif |
TEST(ThreadTicks, MAYBE_ThreadNow) { |
if (ThreadTicks::IsSupported()) { |
+ ThreadTicks::WaitUntilInitialized(); |
TimeTicks begin = TimeTicks::Now(); |
ThreadTicks begin_thread = ThreadTicks::Now(); |
// Make sure that ThreadNow value is non-zero. |