Skip to content

Commit 691cf12

Browse files
committed
ParallelTheory is not yet supported
1 parent 0bd8f0b commit 691cf12

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ public void ConnectionTestValidCredentialCombination()
296296
Assert.Equal(sqlCredential, conn.Credential);
297297
}
298298

299-
[ParallelTheory]
299+
[Theory]
300+
// [ParallelTheory] // Use as soon as Microsoft.DotNet.XUnitExtensions is updated to 10.0.0+
300301
[InlineData(60)]
301302
[InlineData(30)]
302303
[InlineData(15)]
@@ -335,7 +336,8 @@ public void ConnectionTimeoutTest(int timeout)
335336
$"{Environment.NewLine}{ex}");
336337
}
337338

338-
[ParallelTheory]
339+
[Theory]
340+
// [ParallelTheory] // Use as soon as Microsoft.DotNet.XUnitExtensions is updated to 10.0.0+
339341
[InlineData(60)]
340342
[InlineData(30)]
341343
[InlineData(15)]

src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionReadOnlyRoutingTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public void RoutedConnection()
4040
public async Task RoutedAsyncConnection()
4141
=> await RecursivelyRoutedAsyncConnection(1);
4242

43-
[ParallelTheory]
43+
[Theory]
44+
// [ParallelTheory] // Use as soon as Microsoft.DotNet.XUnitExtensions is updated to 10.0.0+
4445
[InlineData(2)]
4546
[InlineData(9)]
4647
[InlineData(11)] // The driver rejects more than 10 redirects (11 layers of redirecting servers)
@@ -81,7 +82,8 @@ public void RecursivelyRoutedConnection(int layers)
8182
}
8283
}
8384

84-
[ParallelTheory]
85+
[Theory]
86+
// [ParallelTheory] // Use as soon as Microsoft.DotNet.XUnitExtensions is updated to 10.0.0+
8587
[InlineData(2)]
8688
[InlineData(9)]
8789
[InlineData(11)] // The driver rejects more than 10 redirects (11 layers of redirecting servers)

0 commit comments

Comments
 (0)