Skip to content

Commit c0d1d56

Browse files
committed
fix CI
1 parent 2a8536f commit c0d1d56

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

tests/StackExchange.Redis.Tests/VectorSetIntegrationTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ public async Task VectorSetAdd_WithAttributes()
6565
public async Task VectorSetAdd_WithEverything(VectorSetQuantization quantization, bool useFp32)
6666
{
6767
await using var conn = Create(require: RedisFeatures.v8_0_0_M04);
68+
var server = conn.GetServer(RedisKey.Null);
69+
Log($"Server version: {server.Version}");
6870
var db = conn.GetDatabase();
6971
var key = Me() + "/" + quantization;
7072

@@ -79,7 +81,7 @@ public async Task VectorSetAdd_WithEverything(VectorSetQuantization quantization
7981
attributes);
8082
request.UseFp32 = useFp32;
8183
request.Quantization = quantization;
82-
request.ReducedDimensions = 64;
84+
request.ReducedDimensions = 4;
8385
request.BuildExplorationFactor = 300;
8486
request.MaxConnections = 32;
8587
request.UseCheckAndSet = true;

tests/StackExchange.Redis.Tests/VectorSetUnitTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
namespace StackExchange.Redis.Tests;
77

8-
[Collection(NonParallelCollection.Name)] // because of the FP32 suppression
98
public sealed class VectorSetUnitTests(ITestOutputHelper output)
109
{
1110
// the aim of this test is to validate that we're sending the right thing - VADD is complex
@@ -34,7 +33,7 @@ public async Task VectorSetAdd_WithEverything(VectorSetQuantization quantization
3433
attributes);
3534
request.UseFp32 = useFp32;
3635
request.Quantization = quantization;
37-
request.ReducedDimensions = 64;
36+
request.ReducedDimensions = 4;
3837
request.BuildExplorationFactor = 300;
3938
request.MaxConnections = 32;
4039
request.UseCheckAndSet = true;
@@ -56,7 +55,7 @@ public async Task VectorSetAdd_WithEverything(VectorSetQuantization quantization
5655
Assert.Equal("VADD", req[0]);
5756
Assert.Equal("mykey", req[1]);
5857
Assert.Equal("REDUCE", req[2]);
59-
Assert.Equal(64, req[3]);
58+
Assert.Equal(4, req[3]);
6059
req = req.Slice(4);
6160

6261
if (useFp32)

0 commit comments

Comments
 (0)