Tests: DB-pipelinetests serieel (MySql.Data-driver is niet thread-safe bij parallel openen van verbindingen)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// The host tests start several real hosts against MariaDB/MySQL. The MySql.Data driver keeps a static,
|
||||
// non-thread-safe dictionary that is touched while a connection is opened (MySql.Data.Common.Ssl.StartSSL), so opening
|
||||
// connections from several hosts at the same time can fail with "Operations that change non-concurrent collections
|
||||
// must have exclusive access". The suite is small and fast (the pure unit tests take about a second), so the whole
|
||||
// assembly runs serially instead of guessing which classes touch the driver.
|
||||
[assembly: CollectionBehavior(DisableTestParallelization = true)]
|
||||
@@ -0,0 +1,6 @@
|
||||
// The pipeline tests start several real hosts against MariaDB/MySQL. The MySql.Data driver keeps a static,
|
||||
// non-thread-safe dictionary that is touched while a connection is opened (MySql.Data.Common.Ssl.StartSSL), so opening
|
||||
// connections from several hosts at the same time can fail with "Operations that change non-concurrent collections
|
||||
// must have exclusive access". The suite is small and fast (the pure unit tests take about a second), so the whole
|
||||
// assembly runs serially instead of guessing which classes touch the driver.
|
||||
[assembly: CollectionBehavior(DisableTestParallelization = true)]
|
||||
Reference in New Issue
Block a user