Skip to content

Commit

Permalink
Wait for all the tasks to be deleted before reset memory system
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxmeng committed Apr 11, 2024
1 parent a3b4849 commit c594fcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions velox/exec/tests/utils/OperatorTestBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ void OperatorTestBase::SetUp() {
}

void OperatorTestBase::TearDown() {
waitForAllTasksToBeDeleted();
pool_.reset();
rootPool_.reset();
resetMemory();
Expand Down

0 comments on commit c594fcf

Please sign in to comment.