Skip to content

Commit

Permalink
add CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
kkewwei committed Apr 5, 2024
1 parent 967fa37 commit 34f9f36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Fix bulk API ignores ingest pipeline for upsert ([#12883](https://github.com/opensearch-project/OpenSearch/pull/12883))
- Fix issue with feature flags where default value may not be honored ([#12849](https://github.com/opensearch-project/OpenSearch/pull/12849))
- Fix UOE While building Exists query for nested search_as_you_type field ([#12048](https://github.com/opensearch-project/OpenSearch/pull/12048))
- Fix implement mark() and markSupported() in class FilterStreamInput ([#13098](https://github.com/opensearch-project/OpenSearch/pull/13098))

### Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
import java.io.IOException;
import java.nio.ByteBuffer;

import static org.hamcrest.Matchers.is;

/** test the FilterStreamInput using the same BaseStreamTests */
public class FilterStreamInputTests extends BaseStreamTests {
@Override
Expand All @@ -34,6 +36,7 @@ public void testMarkAndReset() throws IOException {
BytesReference bytesReference = BytesReference.fromByteBuffer(buffer);
StreamInput streamInput = filterStreamInputTests.getStreamInput(bytesReference);
streamInput.read();
assertThat(streamInput.markSupported(), is(true));
streamInput.mark(-1);
int int1 = streamInput.read();
int int2 = streamInput.read();
Expand Down

0 comments on commit 34f9f36

Please sign in to comment.