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]>
  • Loading branch information
vibrantvarun authored Jan 12, 2024
1 parent 91a1202 commit bd1dfbf
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 @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Enhancements
### Bug Fixes
- 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 bd1dfbf

Please sign in to comment.