@@ -607,10 +607,11 @@ public async Task EndToEnd_PerformanceValidation_MultipleConnectionsWithDifferen
607
607
608
608
var configurations = new [ ]
609
609
{
610
- ( "Primary" , ReadFromStrategy . Primary , ( string ? ) null ) ,
611
- ( "PreferReplica" , ReadFromStrategy . PreferReplica , ( string ? ) null ) ,
610
+ ( "Primary" , ReadFromStrategy . Primary , null ) ,
611
+ ( "PreferReplica" , ReadFromStrategy . PreferReplica , null ) ,
612
612
( "AzAffinity" , ReadFromStrategy . AzAffinity , "us-east-1a" ) ,
613
- ( "AzAffinityReplicasAndPrimary" , ReadFromStrategy . AzAffinityReplicasAndPrimary , "eu-west-1b" )
613
+ ( "AzAffinityReplicasAndPrimary" , ReadFromStrategy . AzAffinityReplicasAndPrimary , "eu-west-1b" ) ,
614
+ ( "PrimaryAndSecondary" , ReadFromStrategy . PrimaryAndSecondary , null )
614
615
} ;
615
616
616
617
try
@@ -770,13 +771,15 @@ public async Task EndToEnd_FFILayerIntegration_ReadFromConfigurationReachesRustC
770
771
// Test that ReadFrom configuration actually reaches the Rust core (FFI layer)
771
772
// by creating clients with different ReadFrom strategies and verifying they work
772
773
774
+ #pragma warning disable CS8619
773
775
var testCases = new [ ]
774
776
{
775
777
new { Strategy = ReadFromStrategy . Primary , Az = ( string ? ) null } ,
776
778
new { Strategy = ReadFromStrategy . PreferReplica , Az = ( string ? ) null } ,
777
779
new { Strategy = ReadFromStrategy . AzAffinity , Az = "us-east-1a" } ,
778
780
new { Strategy = ReadFromStrategy . AzAffinityReplicasAndPrimary , Az = "eu-west-1b" }
779
781
} ;
782
+ #pragma warning restore CS8619
780
783
781
784
foreach ( var testCase in testCases )
782
785
{
@@ -907,8 +910,8 @@ public async Task EndToEnd_FFILayerIntegration_ConcurrentConnectionsWithDifferen
907
910
908
911
var configurations = new [ ]
909
912
{
910
- ( ReadFromStrategy . Primary , ( string ? ) null ) ,
911
- ( ReadFromStrategy . PreferReplica , ( string ? ) null ) ,
913
+ ( ReadFromStrategy . Primary , null ) ,
914
+ ( ReadFromStrategy . PreferReplica , null ) ,
912
915
( ReadFromStrategy . AzAffinity , "us-east-1a" ) ,
913
916
( ReadFromStrategy . AzAffinityReplicasAndPrimary , "eu-west-1b" )
914
917
} ;
0 commit comments