Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Aug 21, 2024
1 parent f6e18c2 commit 93ee298
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions velox/common/memory/tests/SharedArbitratorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class SharedArbitrationTest : public SharedArbitrationTestBase {
};
/// A test fixture that runs cases within both serial and
/// parallel execution modes.
class SharedArbitrationTestWithThreadingModes
class SharedArbitrationTestWithExecutionModes
: public testing::WithParamInterface<TestParam>,
public SharedArbitrationTestBase {
public:
Expand Down Expand Up @@ -471,7 +471,7 @@ DEBUG_ONLY_TEST_F(SharedArbitrationTest, skipNonReclaimableTaskTest) {
ASSERT_EQ(taskPausedCount, 1);
}

DEBUG_ONLY_TEST_P(SharedArbitrationTestWithThreadingModes, reclaimToOrderBy) {
DEBUG_ONLY_TEST_P(SharedArbitrationTestWithExecutionModes, reclaimToOrderBy) {
const int numVectors = 32;
std::vector<RowVectorPtr> vectors;
for (int i = 0; i < numVectors; ++i) {
Expand Down Expand Up @@ -574,7 +574,7 @@ DEBUG_ONLY_TEST_P(SharedArbitrationTestWithThreadingModes, reclaimToOrderBy) {
}

DEBUG_ONLY_TEST_P(
SharedArbitrationTestWithThreadingModes,
SharedArbitrationTestWithExecutionModes,
reclaimToAggregation) {
const int numVectors = 32;
std::vector<RowVectorPtr> vectors;
Expand Down Expand Up @@ -679,7 +679,7 @@ DEBUG_ONLY_TEST_P(
}

DEBUG_ONLY_TEST_P(
SharedArbitrationTestWithThreadingModes,
SharedArbitrationTestWithExecutionModes,
reclaimToJoinBuilder) {
const int numVectors = 32;
std::vector<RowVectorPtr> vectors;
Expand Down Expand Up @@ -1353,10 +1353,10 @@ TEST_F(SharedArbitrationTest, reserveReleaseCounters) {
}

VELOX_INSTANTIATE_TEST_SUITE_P(
SharedArbitrationTestWithThreadingModes,
SharedArbitrationTestWithThreadingModes,
SharedArbitrationTestWithExecutionModes,
SharedArbitrationTestWithExecutionModes,
testing::ValuesIn(
SharedArbitrationTestWithThreadingModes::getTestParams()));
SharedArbitrationTestWithExecutionModes::getTestParams()));
} // namespace facebook::velox::memory

int main(int argc, char** argv) {
Expand Down

0 comments on commit 93ee298

Please sign in to comment.