Skip to content

Commit

Permalink
Fix flaky executor test (#5658)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit committed Mar 21, 2022
1 parent dd39b5d commit 2a24734
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ protected final void executeAndCancelTasks(Function<U, Future<?>> task) {
// we do not really have a good way for attributing work to correct parent span
// if we reuse Callable/Runnable.
// Solution for now is to never reuse a Callable/Runnable.
U child = newTask(true, true);
U child = newTask(false, true);
children.add(child);
Future<?> f = task.apply(child);
jobFutures.add(f);
Expand Down

0 comments on commit 2a24734

Please sign in to comment.