@@ -534,8 +534,7 @@ static void CheckFrameTimings(const std::vector<FrameTiming>& timings,
534
534
}
535
535
}
536
536
537
- // TODO(43192): This test is disable because of flakiness.
538
- TEST_F (ShellTest, DISABLED_ReportTimingsIsCalled) {
537
+ TEST_F (ShellTest, ReportTimingsIsCalled) {
539
538
fml::TimePoint start = fml::TimePoint::Now ();
540
539
auto settings = CreateSettingsForFixture ();
541
540
std::unique_ptr<Shell> shell = CreateShell (settings);
@@ -551,6 +550,7 @@ TEST_F(ShellTest, DISABLED_ReportTimingsIsCalled) {
551
550
auto nativeTimingCallback = [&reportLatch,
552
551
×tamps](Dart_NativeArguments args) {
553
552
Dart_Handle exception = nullptr ;
553
+ ASSERT_EQ (timestamps.size (), 0ul );
554
554
timestamps = tonic::DartConverter<std::vector<int64_t >>::FromArguments (
555
555
args, 0 , exception);
556
556
reportLatch.Signal ();
@@ -1277,6 +1277,7 @@ TEST_F(ShellTest, ReportTimingsIsCalledImmediatelyAfterTheFirstFrame) {
1277
1277
auto nativeTimingCallback = [&reportLatch,
1278
1278
×tamps](Dart_NativeArguments args) {
1279
1279
Dart_Handle exception = nullptr ;
1280
+ ASSERT_EQ (timestamps.size (), 0ul );
1280
1281
timestamps = tonic::DartConverter<std::vector<int64_t >>::FromArguments (
1281
1282
args, 0 , exception);
1282
1283
reportLatch.Signal ();
0 commit comments