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

[Backport 2.9] Fix search pipeline bwc test #8765

Merged
merged 1 commit into from
Jul 19, 2023
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 qa/mixed-cluster/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ for (Version bwcVersion : BuildParams.bwcVersions.wireCompatible) {
numberOfNodes = 4

setting 'path.repo', "${buildDir}/cluster/shared/repo/${baseName}"
if (bwcVersion.onOrAfter("2.7.0")) {
setting 'opensearch.experimental.feature.search_pipeline.enabled', 'true'
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
---
# Only send sanity request to nodes in >=2.9 versions because search pipeline is GA in 2.9.0.
# Nodes from earlier versions (before 2.9.0) will submit the request to nodes from 2.9.0
# or later during the "mixedClusterTest," but this will fail because 2.9.0 removed the feature flag setting.

"Test basic pipeline crud":
- skip:
version: " - 2.6.99"
reason: "Added in 2.7.0"
version: " - 2.8.99"
reason: "Only send sanity request to nodes in >=2.9 versions"
- do:
search_pipeline.put:
id: "my_pipeline"
Expand Down Expand Up @@ -32,8 +36,8 @@
---
"Test Put Versioned Pipeline":
- skip:
version: " - 2.6.99"
reason: "Added in 2.7.0"
version: " - 2.8.99"
reason: "Only send sanity request to nodes in >=2.9 versions"
- do:
search_pipeline.put:
id: "my_pipeline"
Expand Down Expand Up @@ -125,8 +129,8 @@
---
"Test Get All Pipelines":
- skip:
version: " - 2.6.99"
reason: "Added in 2.7.0"
version: " - 2.8.99"
reason: "Only send sanity request to nodes in >=2.9 versions"
- do:
search_pipeline.put:
id: "first_pipeline"
Expand All @@ -152,8 +156,8 @@
---
"Test invalid config":
- skip:
version: " - 2.6.99"
reason: "Added in 2.7.0"
version: " - 2.8.99"
reason: "Only send sanity request to nodes in >=2.9 versions"
- do:
catch: /parse_exception/
search_pipeline.put:
Expand Down