Skip to content

Commit 87e9e4d

Browse files
author
Milder Hernandez Cagua
committed
Change collectionName
1 parent 09e0388 commit 87e9e4d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

api-test/integration-tests/src/test/java/com/microsoft/semantickernel/tests/connectors/memory/redis/RedisHashSetVectorStoreRecordCollectionTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ private static Stream<Arguments> provideSearchParameters() {
344344
@ParameterizedTest
345345
@MethodSource("provideSearchParameters")
346346
public void search(RecordCollectionOptions options, String embeddingName) {
347-
String collectionName = "search" + options.name() + embeddingName;
347+
String collectionName = "search";
348348
RedisHashSetVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);
349349

350350
List<Hotel> hotels = getHotels();
@@ -366,7 +366,7 @@ public void search(RecordCollectionOptions options, String embeddingName) {
366366
@ParameterizedTest
367367
@MethodSource("provideSearchParameters")
368368
public void searchWithVectors(RecordCollectionOptions options, String embeddingName) {
369-
String collectionName = "searchWithVectors" + options.name() + embeddingName;
369+
String collectionName = "search";
370370
RedisHashSetVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);
371371

372372
List<Hotel> hotels = getHotels();
@@ -389,7 +389,7 @@ public void searchWithVectors(RecordCollectionOptions options, String embeddingN
389389
@ParameterizedTest
390390
@MethodSource("provideSearchParameters")
391391
public void searchWithOffSet(RecordCollectionOptions options, String embeddingName) {
392-
String collectionName = "searchWithOffSet" + options.name() + embeddingName;
392+
String collectionName = "search";
393393
RedisHashSetVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);
394394

395395
List<Hotel> hotels = getHotels();

api-test/integration-tests/src/test/java/com/microsoft/semantickernel/tests/connectors/memory/redis/RedisJsonVectorStoreRecordCollectionTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ private static Stream<Arguments> provideSearchParameters() {
347347
@ParameterizedTest
348348
@MethodSource("provideSearchParameters")
349349
public void search(RecordCollectionOptions options, String embeddingName) {
350-
String collectionName = "search" + options.name() + embeddingName;
350+
String collectionName = "search";
351351
RedisJsonVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);
352352

353353
List<Hotel> hotels = getHotels();
@@ -369,7 +369,7 @@ public void search(RecordCollectionOptions options, String embeddingName) {
369369
@ParameterizedTest
370370
@MethodSource("provideSearchParameters")
371371
public void searchWithVectors(RecordCollectionOptions options, String embeddingName) {
372-
String collectionName = "searchWithVectors" + options.name() + embeddingName;
372+
String collectionName = "search";
373373
RedisJsonVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);
374374

375375
List<Hotel> hotels = getHotels();
@@ -392,7 +392,7 @@ public void searchWithVectors(RecordCollectionOptions options, String embeddingN
392392
@ParameterizedTest
393393
@MethodSource("provideSearchParameters")
394394
public void searchWithOffSet(RecordCollectionOptions options, String embeddingName) {
395-
String collectionName = "searchWithOffSet" + options.name() + embeddingName;
395+
String collectionName = "search";
396396
RedisJsonVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);
397397

398398
List<Hotel> hotels = getHotels();

0 commit comments

Comments
 (0)