Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 2c3f3edad418c41f259c99813aec96679439241f..7b5fc2b0fe7f9daa418ef9cc06338284a7bc0281 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -1369,11 +1369,13 @@ TEST(IdleTime) { |
GetChild(root, ProfileGenerator::kProgramEntryName); |
CHECK_EQ(0, programNode->GetChildrenCount()); |
CHECK_GE(programNode->GetSelfSamplesCount(), 3); |
+ CHECK_GE(programNode->GetHitCount(), 3); |
const v8::CpuProfileNode* idleNode = |
GetChild(root, ProfileGenerator::kIdleEntryName); |
CHECK_EQ(0, idleNode->GetChildrenCount()); |
CHECK_GE(idleNode->GetSelfSamplesCount(), 3); |
+ CHECK_GE(idleNode->GetHitCount(), 3); |
cpu_profiler->DeleteAllCpuProfiles(); |
} |