Skip to content

Commit 26af770

Browse files
committed
CR Fixes
1 parent 164de88 commit 26af770

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/main/java/org/elasticsearch/tasks/TaskManager.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,13 @@ public TaskManager(Settings settings, ThreadPool threadPool, Set<String> taskHea
9797
this(settings, threadPool, taskHeaders, Tracer.NOOP);
9898
}
9999

100+
// For testing
100101
public TaskManager(Settings settings, ThreadPool threadPool, Set<String> taskHeaders, Tracer tracer) {
101102
this(settings, threadPool, taskHeaders, tracer, UUIDs.randomBase64UUID());
102103
}
103104

105+
// TODO Both of the above overloads should be moved to the test package.
106+
104107
public TaskManager(Settings settings, ThreadPool threadPool, Set<String> taskHeaders, Tracer tracer, String nodeId) {
105108
this.threadPool = threadPool;
106109
this.taskHeaders = Set.copyOf(taskHeaders);

0 commit comments

Comments
 (0)