Index: components/metrics/metrics_log_unittest.cc |
diff --git a/components/metrics/metrics_log_unittest.cc b/components/metrics/metrics_log_unittest.cc |
index 57a1209f1adfe809dee1b014bff7da3596ea43fb..0a187e5d80b1a550d5a8eeff15a884f2eafa0e0a 100644 |
--- a/components/metrics/metrics_log_unittest.cc |
+++ b/components/metrics/metrics_log_unittest.cc |
@@ -134,6 +134,8 @@ class MetricsLogTest : public testing::Test { |
EXPECT_TRUE(hardware.cpu().has_signature()); |
EXPECT_TRUE(hardware.cpu().has_num_cores()); |
+ EXPECT_GE((base::Time::Now() - base::Time::UnixEpoch()).InSeconds(), |
+ system_profile.log_date()); |
// TODO(isherman): Verify other data written into the protobuf as a result |
// of this call. |
} |