Loading cmds/statsd/tests/StatsLogProcessor_test.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1713,6 +1713,11 @@ TEST(StatsLogProcessorTest, TestActivationsPersistAcrossSystemServerRestart) { EXPECT_EQ(kActive, activation1004->state); EXPECT_EQ(ACTIVATE_IMMEDIATELY, activation1004->activationType); // }}}------------------------------------------------------------------------------ // Clear the data stored on disk as a result of the system server death. vector<uint8_t> buffer; processor->onDumpReport(cfgKey1, configAddedTimeNs + NS_PER_SEC, false, true, ADB_DUMP, FAST, &buffer); } #else Loading cmds/statsd/tests/e2e/ConfigTtl_e2e_test.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,11 @@ TEST(ConfigTtlE2eTest, TestCountMetric) { EXPECT_EQ((int64_t)(bucketStartTimeNs + 25 * bucketSizeNs + 2 + 2 * 3600 * NS_PER_SEC), processor->mMetricsManagers.begin()->second->getTtlEndNs()); // Clear the data stored on disk as a result of the ttl. vector<uint8_t> buffer; processor->onDumpReport(cfgKey, bucketStartTimeNs + 25 * bucketSizeNs + 3, false, true, ADB_DUMP, FAST, &buffer); } Loading Loading
cmds/statsd/tests/StatsLogProcessor_test.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1713,6 +1713,11 @@ TEST(StatsLogProcessorTest, TestActivationsPersistAcrossSystemServerRestart) { EXPECT_EQ(kActive, activation1004->state); EXPECT_EQ(ACTIVATE_IMMEDIATELY, activation1004->activationType); // }}}------------------------------------------------------------------------------ // Clear the data stored on disk as a result of the system server death. vector<uint8_t> buffer; processor->onDumpReport(cfgKey1, configAddedTimeNs + NS_PER_SEC, false, true, ADB_DUMP, FAST, &buffer); } #else Loading
cmds/statsd/tests/e2e/ConfigTtl_e2e_test.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,11 @@ TEST(ConfigTtlE2eTest, TestCountMetric) { EXPECT_EQ((int64_t)(bucketStartTimeNs + 25 * bucketSizeNs + 2 + 2 * 3600 * NS_PER_SEC), processor->mMetricsManagers.begin()->second->getTtlEndNs()); // Clear the data stored on disk as a result of the ttl. vector<uint8_t> buffer; processor->onDumpReport(cfgKey, bucketStartTimeNs + 25 * bucketSizeNs + 3, false, true, ADB_DUMP, FAST, &buffer); } Loading