Skip to content

Commit

Permalink
Fix search pipeline bwc test (opensearch-project#8764) (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#8765)

(cherry picked from commit 40c8a92)

Signed-off-by: Louis Chu <[email protected]>
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>
  • Loading branch information
1 parent 1164221 commit 3a7c95a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
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

0 comments on commit 3a7c95a

Please sign in to comment.