Skip to content

Commit

Permalink
Remove check for removedTaskListener type
Browse files Browse the repository at this point in the history
  • Loading branch information
arteam committed May 28, 2024
1 parent a928f28 commit a61e9c9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -613,9 +613,7 @@ private <T> void waitForCompletionTestCase(boolean storeResult, Function<TaskId,
@Override
public void onRemovedTaskListenerRegistered(RemovedTaskListener removedTaskListener) {
// Unblock the request only after it started waiting for task completion
if (removedTaskListener.toString().startsWith("Waiting for task completion Task{id=" + taskId.getId())) {
client().execute(UNBLOCK_TASK_ACTION, new TestTaskPlugin.UnblockTestTasksRequest());
}
client().execute(UNBLOCK_TASK_ACTION, new TestTaskPlugin.UnblockTestTasksRequest());
}
});
// Spin up a request to wait for the test task to finish
Expand Down

0 comments on commit a61e9c9

Please sign in to comment.