Skip to content

Commit

Permalink
Fix for Flaky test for issue 433 (#537)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Jain <[email protected]>
(cherry picked from commit bd1dfbf)
  • Loading branch information
vibrantvarun authored and github-actions[bot] committed Jan 12, 2024
1 parent bb2d59e commit 66ab862
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Fixed exception for case when Hybrid query being wrapped into bool query ([#490](https://github.com/opensearch-project/neural-search/pull/490))
- Hybrid query and nested type fields ([#498](https://github.com/opensearch-project/neural-search/pull/498))
- Fixing multiple issues reported in #497 ([#524](https://github.com/opensearch-project/neural-search/pull/524))
- Fix Flaky test reported in #433 ([#533](https://github.com/opensearch-project/neural-search/pull/533))
### Infrastructure
- BWC tests for Neural Search ([#515](https://github.com/opensearch-project/neural-search/pull/515))
### Documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class NormalizationProcessorIT extends BaseNeuralSearchIT {
private static final String TEST_KNN_VECTOR_FIELD_NAME_1 = "test-knn-vector-1";
private static final String TEST_TEXT_FIELD_NAME_1 = "test-text-field-1";
private static final String TEST_TEXT_FIELD_NAME_2 = "test-text-field-2";
private static final String SEARCH_PIPELINE = "phase-results-pipeline";
private static final String SEARCH_PIPELINE = "phase-results-normalization-processor-pipeline";
private final float[] testVector1 = createRandomVector(TEST_DIMENSION);
private final float[] testVector2 = createRandomVector(TEST_DIMENSION);
private final float[] testVector3 = createRandomVector(TEST_DIMENSION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class ScoreCombinationIT extends BaseNeuralSearchIT {
private static final String TEST_DOC_TEXT5 = "Say hello and enter my friend";
private static final String TEST_KNN_VECTOR_FIELD_NAME_1 = "test-knn-vector-1";
private static final String TEST_TEXT_FIELD_NAME_1 = "test-text-field-1";
private static final String SEARCH_PIPELINE = "phase-results-pipeline";
private static final String SEARCH_PIPELINE = "phase-results-score-combination-pipeline";
private final float[] testVector1 = createRandomVector(TEST_DIMENSION);
private final float[] testVector2 = createRandomVector(TEST_DIMENSION);
private final float[] testVector3 = createRandomVector(TEST_DIMENSION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class ScoreNormalizationIT extends BaseNeuralSearchIT {
private static final String TEST_DOC_TEXT4 = "Hello, I'm glad to you see you pal";
private static final String TEST_KNN_VECTOR_FIELD_NAME_1 = "test-knn-vector-1";
private static final String TEST_TEXT_FIELD_NAME_1 = "test-text-field-1";
private static final String SEARCH_PIPELINE = "phase-results-pipeline";
private static final String SEARCH_PIPELINE = "phase-results-normalization-pipeline";
private final float[] testVector1 = createRandomVector(TEST_DIMENSION);
private final float[] testVector2 = createRandomVector(TEST_DIMENSION);
private final float[] testVector3 = createRandomVector(TEST_DIMENSION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class HybridQueryIT extends BaseNeuralSearchIT {
private final float[] testVector1 = createRandomVector(TEST_DIMENSION);
private final float[] testVector2 = createRandomVector(TEST_DIMENSION);
private final float[] testVector3 = createRandomVector(TEST_DIMENSION);
private static final String SEARCH_PIPELINE = "phase-results-pipeline";
private static final String SEARCH_PIPELINE = "phase-results-hybrid-pipeline";

@Before
public void setUp() throws Exception {
Expand Down

0 comments on commit 66ab862

Please sign in to comment.