Skip to content

Commit b21e871

Browse files
committed
Skip the test before redis 8
1 parent babb5d4 commit b21e871

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

search_commands.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,6 +1592,7 @@ func parseFTSearch(data []interface{}, noContent, withScores, withPayloads, with
15921592
if !ok {
15931593
return FTSearchResult{}, fmt.Errorf("invalid total results format")
15941594
}
1595+
15951596
var results []Document
15961597
for i := 1; i < len(data); {
15971598
docID, ok := data[i].(string)

search_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,7 @@ var _ = Describe("RediSearch commands Resp 2", Label("search"), func() {
15791579
})
15801580

15811581
It("should FTCreate VECTOR with int8 and uint8 types", Label("search", "ftcreate"), func() {
1582+
SkipBeforeRedisVersion(7.9, "doesn't work with older redis")
15821583
// Define INT8 vector field
15831584
hnswOptionsInt8 := &redis.FTHNSWOptions{
15841585
Type: "INT8",

0 commit comments

Comments
 (0)