diff --git a/presto-native-execution/presto_cpp/main/tests/TaskManagerTest.cpp b/presto-native-execution/presto_cpp/main/tests/TaskManagerTest.cpp index 4dbfff1cd091..eb953a8b543e 100644 --- a/presto-native-execution/presto_cpp/main/tests/TaskManagerTest.cpp +++ b/presto-native-execution/presto_cpp/main/tests/TaskManagerTest.cpp @@ -802,7 +802,6 @@ DEBUG_ONLY_TEST_P(TaskManagerTest, fecthFromArbitraryOutput) { const protocol::Duration longWait("10s"); const auto maxSize = protocol::DataSize("1024MB"); auto expiredRequestState = http::CallbackRequestHandlerState::create(); - auto consumeCompleted = false; // Consume from destination 0 to simulate the case that the http request has // expired while destination has notify setup. auto expiredResultWait = taskManager_->getResults(