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:
2026-11-11 00:48:45 +01:00
co-authored by Claude Sonnet 5.5
parent d528ddacc3
commit 7e1a502310
2 changed files with 12 additions and 0 deletions
@@ -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)]