Skip to content

Commit eb25fb4

Browse files
add todo
1 parent 6a027c2 commit eb25fb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/test/java/org/elasticsearch/ingest/IngestServiceTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,7 +2131,7 @@ public String execute() {
21312131
// n.b. this 'pipeline' processor will always run the '_id3' pipeline, see the mocking/plumbing above and below
21322132
PutPipelineRequest putRequest2 = putJsonPipelineRequest("_id2", "{\"processors\": [{\"pipeline\" : {}}]}");
21332133
PutPipelineRequest putRequest3 = putJsonPipelineRequest("_id3", "{\"processors\": [{\"mock\" : {}}]}");
2134-
var projectId = randomProjectIdOrDefault();
2134+
var projectId = randomProjectIdOrDefault(); // TODO PETE should different pipelines be in different projects?
21352135
ClusterState clusterState = ClusterState.builder(ClusterName.DEFAULT)
21362136
.putProjectMetadata(ProjectMetadata.builder(projectId).build())
21372137
.build();
@@ -2226,7 +2226,7 @@ public void testStats() throws Exception {
22262226
assertStats(initialStats.totalStats(), 0, 0, 0);
22272227

22282228
PutPipelineRequest putRequest = putJsonPipelineRequest("_id1", "{\"processors\": [{\"mock\" : {}}]}");
2229-
var projectId = randomProjectIdOrDefault();
2229+
var projectId = randomProjectIdOrDefault(); // TODO PETE should different pipelines be in different projects?
22302230
ClusterState clusterState = ClusterState.builder(ClusterName.DEFAULT)
22312231
.putProjectMetadata(ProjectMetadata.builder(projectId).build())
22322232
.build();

0 commit comments

Comments
 (0)