File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed
tests/MongoDB.Driver.Tests/Specifications Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,11 @@ public void LoadBalancers(JsonDrivenTestCase testCase)
122
122
Run ( testCase ) ;
123
123
}
124
124
125
- [ Category ( "SupportLoadBalancing" ) ]
125
+ [ Category ( "Serverless" , " SupportLoadBalancing") ]
126
126
[ UnifiedTestsTheory ( "retryable_reads.tests.unified" ) ]
127
127
public void RetryableReads ( JsonDrivenTestCase testCase ) => Run ( testCase ) ;
128
128
129
- [ Category ( "SupportLoadBalancing" ) ]
129
+ [ Category ( "Serverless" , " SupportLoadBalancing") ]
130
130
[ UnifiedTestsTheory ( "retryable_writes.tests.unified" ) ]
131
131
public void RetryableWrites ( JsonDrivenTestCase testCase ) => Run ( testCase ) ;
132
132
@@ -145,16 +145,7 @@ public void ServerDiscoveryAndMonitoring(JsonDrivenTestCase testCase) =>
145
145
146
146
[ Category ( "Serverless" , "SupportLoadBalancing" ) ]
147
147
[ UnifiedTestsTheory ( "transactions.tests.unified" ) ]
148
- public void Transactions ( JsonDrivenTestCase testCase )
149
- {
150
- if ( testCase . Name . Contains ( "find does not retry in a transaction" ) )
151
- {
152
- // CSHARP-4761
153
- RequireServer . Check ( ) . Serverless ( false ) ;
154
- }
155
-
156
- Run ( testCase ) ;
157
- }
148
+ public void Transactions ( JsonDrivenTestCase testCase ) => Run ( testCase ) ;
158
149
159
150
[ UnifiedTestsTheory ( "unified_test_format.tests.valid_fail" ) ]
160
151
public void UnifiedTestFormatValidFail ( JsonDrivenTestCase testCase )
Original file line number Diff line number Diff line change 32
32
using MongoDB . Driver . Core . TestHelpers . XunitExtensions ;
33
33
using MongoDB . Driver . TestHelpers ;
34
34
using MongoDB . Driver . Tests . JsonDrivenTests ;
35
+ using MongoDB . TestHelpers . XunitExtensions ;
35
36
using Xunit ;
36
37
using Xunit . Abstractions ;
37
38
using Xunit . Sdk ;
38
39
39
40
namespace MongoDB . Driver . Tests . Specifications . retryable_reads
40
41
{
41
- [ Trait ( "Category ", "SupportLoadBalancing" ) ]
42
+ [ Category ( "Serverless ", "SupportLoadBalancing" ) ]
42
43
public sealed class RetryableReadsTestRunner : LoggableTestClass
43
44
{
44
45
#region static
Original file line number Diff line number Diff line change 24
24
using MongoDB . Driver . Core . TestHelpers . Logging ;
25
25
using MongoDB . Driver . Core . TestHelpers . XunitExtensions ;
26
26
using MongoDB . Driver . TestHelpers ;
27
+ using MongoDB . TestHelpers . XunitExtensions ;
27
28
using Xunit ;
28
29
using Xunit . Abstractions ;
29
30
using Xunit . Sdk ;
30
31
31
32
namespace MongoDB . Driver . Tests . Specifications . retryable_writes
32
33
{
33
- [ Trait ( "Category ", "SupportLoadBalancing" ) ]
34
+ [ Category ( "Serverless ", "SupportLoadBalancing" ) ]
34
35
public class RetryableWriteTestRunner : LoggableTestClass
35
36
{
36
37
private readonly string _databaseName = DriverTestConfiguration . DatabaseNamespace . DatabaseName ;
You can’t perform that action at this time.
0 commit comments