Skip to content

Commit d50237b

Browse files
committed
serialize global state tests
1 parent 90f0838 commit d50237b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Tests/TracingTests/TracingInstrumentationSystemTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extension InstrumentationSystem {
3333

3434
/// Tests that rely on the global InstrumentationSystem
3535
/// These tests must be isolated from each other since they mutate global state
36-
@Suite("Global InstrumentationSystem")
36+
@Suite("Global InstrumentationSystem", .serialized)
3737
struct GlobalTracingInstrumentationSystemTests {
3838

3939
@Test("Provides access to a tracer")
@@ -67,10 +67,6 @@ struct GlobalTracingInstrumentationSystemTests {
6767
#expect(InstrumentationSystem._tracer(of: TestTracer.self) === tracer)
6868
#expect(InstrumentationSystem.tracer is TestTracer)
6969
}
70-
}
71-
72-
@Suite("Global Tracing Methods")
73-
struct GlobalTracingMethodsTests {
7470

7571
@Test("Global tracing methods preserve arguments")
7672
func globalTracingMethods() async throws {

0 commit comments

Comments
 (0)