Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix assertion in test of ShardStateMetadata #4774

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

andrross
Copy link
Member

This test randomly fails if the enum selected isn't the same as the one choosen by the legacy constructor.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This test randomly fails if the enum selected isn't the same as the one
choosen by the legacy constructor.

Signed-off-by: Andrew Ross <[email protected]>
@andrross andrross marked this pull request as ready for review October 13, 2022 16:19
@andrross andrross requested review from a team and reta as code owners October 13, 2022 16:19
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@andrross andrross merged commit 1a7aaba into opensearch-project:main Oct 13, 2022
andrross added a commit to andrross/OpenSearch that referenced this pull request Oct 13, 2022
This test randomly fails if the enum selected isn't the same as the one
choosen by the legacy constructor.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
(cherry picked from commit 1a7aaba)
andrross added a commit that referenced this pull request Oct 13, 2022
* Introduce experimental searchable snapshot API (#4680)

This commit adds a new parameter to the snapshot restore API to restore
to a new type of "remote snapshot" index where, unlike traditional
snapshot restores, the index data is not all downloaded to disk and
instead is read on-demand at search time. The feature is functional with
this commit, and includes a simple end-to-end integration test, but is
far from complete. See tracking issue #2919 for the rest of the work
planned/underway.

All new capabilities are gated behind a new searchable snapshot feature
flag.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
(cherry picked from commit 431bdeb)

* Fix assertion in test of ShardStateMetadata (#4774)

This test randomly fails if the enum selected isn't the same as the one
choosen by the legacy constructor.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
(cherry picked from commit 1a7aaba)

* Update version check for 2.4

Checking on or after version 3.0 does not work (or make sense) since
this is on the 2.x branch.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
ashking94 pushed a commit to ashking94/OpenSearch that referenced this pull request Nov 7, 2022
This test randomly fails if the enum selected isn't the same as the one
choosen by the legacy constructor.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
@andrross andrross deleted the fix-test branch November 9, 2022 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants