aboutsummaryrefslogtreecommitdiffstats
path: root/metrics/src/tests/snapshottest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'metrics/src/tests/snapshottest.cpp')
-rw-r--r--metrics/src/tests/snapshottest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/metrics/src/tests/snapshottest.cpp b/metrics/src/tests/snapshottest.cpp
index 22eb3587eff..b4eb4a1353c 100644
--- a/metrics/src/tests/snapshottest.cpp
+++ b/metrics/src/tests/snapshottest.cpp
@@ -176,7 +176,6 @@ TEST_F(SnapshotTest, test_snapshot_two_days)
TestMetricSet set("test");
FakeTimer* timer;
- FastOS_ThreadPool threadPool;
MetricManager mm(
std::unique_ptr<MetricManager::Timer>(timer = new FakeTimer));
{
@@ -185,7 +184,7 @@ TEST_F(SnapshotTest, test_snapshot_two_days)
}
mm.init(config::ConfigUri("raw:consumer[1]\n"
"consumer[0].name \"log\""),
- threadPool, false);
+ false);
tick(mm, timer->_timeInSecs * 1000);
for (uint32_t days=0; days<2; ++days) {