Skip to content

Commit

Permalink
Improved changelog text, and fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaverner committed Nov 14, 2024
1 parent 4967d43 commit 95ce406
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/changelog/115091.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pr: 115091
summary: Added strict range type checks for ENRICH
summary: Added stricter range type checks and runtime warnings for ENRICH
area: ES|QL
type: bug
issues:
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ tasks.named("yamlRestCompatTestTransform").configure({ task ->
task.skipTest("esql/80_text/reverse text", "The output type changed from TEXT to KEYWORD.")
task.skipTest("esql/80_text/values function", "The output type changed from TEXT to KEYWORD.")
task.skipTest("privileges/11_builtin/Test get builtin privileges" ,"unnecessary to test compatibility")
task.skipTest("esql/61_enrich_ip/Invalid IP strings", "We switched from exceptions to null+warnings for ENRICH runtime errors")
})

Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ abstract class AbstractLookupService<R extends AbstractLookupService.Request, T
);
}

public ThreadPool getThreadPool() {
return transportService.getThreadPool();
public ThreadContext getThreadContext() {
return transportService.getThreadPool().getThreadContext();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public EnrichLookupOperator(
this.matchField = matchField;
this.enrichFields = enrichFields;
this.source = source;
this.responseHeadersCollector = new ResponseHeadersCollector(enrichLookupService.getThreadPool().getThreadContext());
this.responseHeadersCollector = new ResponseHeadersCollector(enrichLookupService.getThreadContext());
}

@Override
Expand Down

0 comments on commit 95ce406

Please sign in to comment.