Skip to content

Update skip versions for flat_object tests#15448

Merged
reta merged 1 commit intoopensearch-project:mainfrom
msfroh:correct_flat_object_test_versions
Aug 28, 2024
Merged

Update skip versions for flat_object tests#15448
reta merged 1 commit intoopensearch-project:mainfrom
msfroh:correct_flat_object_test_versions

Conversation

@msfroh
Copy link
Copy Markdown
Contributor

@msfroh msfroh commented Aug 27, 2024

Description

While fixing a flat_object bug, I noticed that we were skipping all related yamlRestTests on pre-3.0 versions. Since the flat object field type was added in 2.7, that should be the correct skip level for most tests. The bug I fixed is still present in 2.16 and earlier, so the test that covers that fix needs to be skipped pre-2.17.

Related Issues

#15431

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

While fixing a flat_object bug, I noticed that we were skipping all
related yamlRestTests on pre-3.0 versions. Since the flat object field
type was added in 2.7, that should be the correct skip level for most
tests. The bug I fixed is still present in 2.16 and earlier, so the
test that covers that fix needs to be skipped pre-2.17.

Signed-off-by: Michael Froh <froh@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 60ee8da: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 60ee8da: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 60ee8da: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 60ee8da: SUCCESS

@reta reta merged commit b30df02 into opensearch-project:main Aug 28, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 28, 2024
While fixing a flat_object bug, I noticed that we were skipping all
related yamlRestTests on pre-3.0 versions. Since the flat object field
type was added in 2.7, that should be the correct skip level for most
tests. The bug I fixed is still present in 2.16 and earlier, so the
test that covers that fix needs to be skipped pre-2.17.

Signed-off-by: Michael Froh <froh@amazon.com>
(cherry picked from commit b30df02)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta pushed a commit that referenced this pull request Aug 28, 2024
While fixing a flat_object bug, I noticed that we were skipping all
related yamlRestTests on pre-3.0 versions. Since the flat object field
type was added in 2.7, that should be the correct skip level for most
tests. The bug I fixed is still present in 2.16 and earlier, so the
test that covers that fix needs to be skipped pre-2.17.


(cherry picked from commit b30df02)

Signed-off-by: Michael Froh <froh@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dblock
Copy link
Copy Markdown
Member

dblock commented Aug 29, 2024

@msfroh care to contribute some flat_object examples/schema/tests to https://github.com/opensearch-project/opensearch-api-specification?

akolarkunnu pushed a commit to akolarkunnu/OpenSearch that referenced this pull request Sep 10, 2024
While fixing a flat_object bug, I noticed that we were skipping all
related yamlRestTests on pre-3.0 versions. Since the flat object field
type was added in 2.7, that should be the correct skip level for most
tests. The bug I fixed is still present in 2.16 and earlier, so the
test that covers that fix needs to be skipped pre-2.17.

Signed-off-by: Michael Froh <froh@amazon.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
While fixing a flat_object bug, I noticed that we were skipping all
related yamlRestTests on pre-3.0 versions. Since the flat object field
type was added in 2.7, that should be the correct skip level for most
tests. The bug I fixed is still present in 2.16 and earlier, so the
test that covers that fix needs to be skipped pre-2.17.

Signed-off-by: Michael Froh <froh@amazon.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
While fixing a flat_object bug, I noticed that we were skipping all
related yamlRestTests on pre-3.0 versions. Since the flat object field
type was added in 2.7, that should be the correct skip level for most
tests. The bug I fixed is still present in 2.16 and earlier, so the
test that covers that fix needs to be skipped pre-2.17.

Signed-off-by: Michael Froh <froh@amazon.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
While fixing a flat_object bug, I noticed that we were skipping all
related yamlRestTests on pre-3.0 versions. Since the flat object field
type was added in 2.7, that should be the correct skip level for most
tests. The bug I fixed is still present in 2.16 and earlier, so the
test that covers that fix needs to be skipped pre-2.17.

Signed-off-by: Michael Froh <froh@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.x Backport to 2.x branch skip-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants