Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,6 @@ tests:
- class: org.elasticsearch.xpack.ilm.DataStreamAndIndexLifecycleMixingTests
method: testGetDataStreamResponse
issue: https://github.com/elastic/elasticsearch/issues/125083
- class: org.elasticsearch.discovery.ec2.Ec2DiscoveryTests
method: testFilterByTags
issue: https://github.com/elastic/elasticsearch/issues/125090
- class: org.elasticsearch.threadpool.ScalingThreadPoolTests
method: testScalingThreadPoolConfiguration
issue: https://github.com/elastic/elasticsearch/issues/125142
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ protected List<TransportAddress> buildDynamicHosts(Settings nodeSettings, int no
final String[] params = request.split("&");
Arrays.stream(params).filter(entry -> entry.startsWith("Filter.") && entry.contains("=tag%3A")).forEach(entry -> {
final int startIndex = "Filter.".length();
final int filterId = Integer.parseInt(entry.substring(startIndex, entry.indexOf(".", startIndex)));
// TODO ensure the filterId is an ASCII int when https://github.com/aws/aws-sdk-java-v2/issues/5968 fixed
final var filterId = entry.substring(startIndex, entry.indexOf(".", startIndex));
tagsIncluded.put(
entry.substring(entry.indexOf("=tag%3A") + "=tag%3A".length()),
Arrays.stream(params)
Expand Down
Loading