Skip to content

Conversation

@mgravell
Copy link
Collaborator

@mgravell mgravell commented Feb 10, 2026

This is test infrastructure code based on the SE.Redis RESP2 vs RESP3 CI implementation, intended both for the same purpose, and to allow high-integrity vs (not) testing.

Note: this changes xUnit version, and drops net6/net7 from the test suite; both of these seem more than reasonable, with net8/net10 being the "live" modern .NET LTS builds.

This also removes the [SkippableFact] / [SkippableTheory] goo, since Assert.Skip* is now built-in.

MOST OF THE FILE COUNT IN THIS PR ARE SIMPLY ^^^ THAT

The core change here is shown in EndpointsFixture.GetConnectionById, where we access the RunProtocol from the test context, and tweak the ConfigurationOptions setup prior to connecting. For efficiency, we also add connection caching at that point, which avoids this rewrite (but more importantly: avoids creating a connection per test). If the caller is using a custom options, we dot not share the connection.

For now, [RunPerProtocol] is only shown "active" against some TOPK tests, although usage is illustrated (commented)
in some search tests, where RESP3 is known to be a problem.

Triage conclusion: we are unable to repro a problem with TOPK in high-integrity mode on either RESP2 or RESP3.

…ode; this uses the same xunit approach that SE.Redis uses for RESP2 vs RESP3, so we gain significant infrastructure gains from this.
@mgravell mgravell requested review from atakavci and uglide and removed request for atakavci February 10, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant