Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Aug 8, 2024
1 parent b901316 commit dd44802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions velox/exec/tests/TaskTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ TEST_F(TaskTest, spillDirNotCreated) {
ASSERT_FALSE(fs->exists(tmpDirectoryPath));
}

DEBUG_ONLY_TEST_F(TaskPauseTest, pauseFuture) {
DEBUG_ONLY_TEST_F(TaskPauseTest, resumeFuture) {
// Test for trivial wait on Task::pauseRequested future.
testPause();
folly::EventCount taskResumeAllowedWait;
Expand All @@ -1721,7 +1721,7 @@ DEBUG_ONLY_TEST_F(TaskPauseTest, pauseFuture) {
ASSERT_EQ(task_->numRunningDrivers(), 0);
}

DEBUG_ONLY_TEST_F(TaskPauseTest, pauseFutureNeverFulfilled) {
DEBUG_ONLY_TEST_F(TaskPauseTest, resumeFutureNeverFulfilled) {
// Test for Task::pauseRequested future to throw when task is never resumed.
testPause();
folly::EventCount taskAbortAllowedWait;
Expand Down

0 comments on commit dd44802

Please sign in to comment.