Skip to content

Commit 23e759c

Browse files
authored
Run EnvironmentTests serially as it is testing the non thread-safe global state of Environment (#9332)
Run EnvironmentTests serially as it is testing the non thread-safe global state of Environment ### Motivation: Address a crash due to concurrent read/write of Environment during test execution. See: https://ci.swift.org/job/oss-swift-package-debian-12/1535/ ### Modifications: Run EnvironmentTests serially
1 parent 8a7a5c8 commit 23e759c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/BasicsTests/Environment/EnvironmentTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import Basics
1818
import Testing
1919
import _InternalTestSupport
2020

21+
@Suite(.serialized)
2122
struct EnvironmentTests {
2223
@Test
2324
func initialize() {

0 commit comments

Comments
 (0)