Skip to content

Commit d6cc255

Browse files
committed
Serialize the GATT plugin stress suite
1 parent c784e5e commit d6cc255

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Tests/BluetoothExplorerPluginEngineTests/GATTPluginTests.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ private let knownDivergences: [UInt16: String] = [:]
9696

9797
// MARK: - Tests
9898

99-
@Suite("GATT characteristic plugins")
99+
// Serialized: each test loads all 13 bundled plugins, and every plugin holds its own warm
100+
// interpreter instance on its own thread. Running these tests concurrently multiplies that into
101+
// dozens of contending interpreters, which is a property of the test harness rather than of the
102+
// engine, and makes per-call latency wildly variable.
103+
@Suite("GATT characteristic plugins", .serialized)
100104
struct GATTPluginTests {
101105

102106
private func loadAll() throws -> [LoadedPlugin] {

0 commit comments

Comments
 (0)