Skip to content

Commit c5088a0

Browse files
authored
Tests: Mark test as intermittent failing (#8851)
The TraitTests.traits_whenNoFlagPassed(buildSystem:) is known to fail in some SwiftPM CI environent, however, the known issue is not recorded in some OSS pieplines. namely when running in a Linux host.
1 parent f6be6d3 commit c5088a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FunctionalTests/TraitTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct TraitTests {
3838
func traits_whenNoFlagPassed(
3939
buildSystem: BuildSystemProvider.Kind,
4040
) async throws {
41-
try await withKnownIssue {
41+
try await withKnownIssue("Does not fail in some pipelines", isIntermittent: (ProcessInfo.hostOperatingSystem == .linux)) {
4242
try await fixture(name: "Traits") { fixturePath in
4343
let (stdout, stderr) = try await executeSwiftRun(
4444
fixturePath.appending("Example"),

0 commit comments

Comments
 (0)