Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/NRedisStack.Tests/Search/SearchTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// [RunPerProtocol]
public class SearchTests(EndpointsFixture endpointsFixture, ITestOutputHelper log)
: AbstractNRedisStackTest(endpointsFixture, log), IDisposable

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.4; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.4; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.2; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.2; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.4; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.4; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.6; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.6; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.2; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.2; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.8; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.8; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.8; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.8; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 6.2; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 6.2; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.2; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.2; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.2; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.2; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.6; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.6; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.4; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.4; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.8; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.8; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.4; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.4; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 6.2; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 6.2; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.2; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.2; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.4; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.4; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.6; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 8.6; .NET 8.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.2; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.2; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 6.2; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 6.2; .NET 9.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.4; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.

Check warning on line 17 in tests/NRedisStack.Tests/Search/SearchTests.cs

View workflow job for this annotation

GitHub Actions / Redis 7.4; .NET 10.0;

Parameter 'ITestOutputHelper log' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
{
// private readonly string key = "SEARCH_TESTS";
private readonly string index = "TEST_INDEX";
Expand Down Expand Up @@ -891,7 +891,7 @@
Assert.Equal(102, info.NumTerms);
Assert.True(info.NumRecords >= 200);
Assert.True(info.InvertedSzMebibytes < 1); // TODO: check this line and all the <1 lines
Assert.Equal(0, info.VectorIndexSzMebibytes);
log.WriteLine($"{nameof(info.VectorIndexSzMebibytes)}: {info.VectorIndexSzMebibytes}"); // version-dependent
Assert.Equal(208, info.TotalInvertedIndexBlocks);
Assert.True(info.OffsetVectorsSzMebibytes < 1);
Assert.True(info.DocTableSizeMebibytes < 1);
Expand Down Expand Up @@ -979,7 +979,7 @@
Assert.Equal(102, info.NumTerms);
Assert.True(info.NumRecords >= 200);
Assert.True(info.InvertedSzMebibytes < 1); // TODO: check this line and all the <1 lines
Assert.Equal(0, info.VectorIndexSzMebibytes);
log.WriteLine($"{nameof(info.VectorIndexSzMebibytes)}: {info.VectorIndexSzMebibytes}"); // version-dependent
Assert.Equal(208, info.TotalInvertedIndexBlocks);
Assert.True(info.OffsetVectorsSzMebibytes < 1);
Assert.True(info.DocTableSizeMebibytes < 1);
Expand Down Expand Up @@ -1057,7 +1057,7 @@
Assert.Equal(102, info.NumTerms);
Assert.True(info.NumRecords >= 200);
Assert.True(info.InvertedSzMebibytes < 1); // TODO: check this line and all the <1 lines
Assert.Equal(0, info.VectorIndexSzMebibytes);
log.WriteLine($"{nameof(info.VectorIndexSzMebibytes)}: {info.VectorIndexSzMebibytes}"); // version-dependent
Assert.Equal(208, info.TotalInvertedIndexBlocks);
Assert.True(info.OffsetVectorsSzMebibytes < 1);
Assert.True(info.DocTableSizeMebibytes < 1);
Expand Down Expand Up @@ -1169,7 +1169,7 @@
Assert.Equal(102, info.NumTerms);
Assert.True(info.NumRecords >= 200);
Assert.True(info.InvertedSzMebibytes < 1); // TODO: check this line and all the <1 lines
Assert.Equal(0, info.VectorIndexSzMebibytes);
log.WriteLine($"{nameof(info.VectorIndexSzMebibytes)}: {info.VectorIndexSzMebibytes}"); // version-dependent
Assert.Equal(208, info.TotalInvertedIndexBlocks);
Assert.True(info.OffsetVectorsSzMebibytes < 1);
Assert.True(info.DocTableSizeMebibytes < 1);
Expand Down
Loading