Skip to content

Commit 94bcc7f

Browse files
authored
Merge pull request #634 from owenv/owenv/flaky
2 parents 572505d + 0c0c085 commit 94bcc7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/SWBCoreTests/SettingsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5139,7 +5139,7 @@ import SWBMacro
51395139
/// Test that we can look up different `Settings` objects the caching in the `BuildRequestContext` works.
51405140
///
51415141
/// In particular this checks whether looking up `Settings` with the same parameters and purpose returns the same object each time, and that looking up similar but slightly different `Settings` will not return the wrong one. This way we can test, for example, that changes to the `SettingsCacheKey` work as expected.
5142-
@Test
5142+
@Test(.flaky("Intermittent failures in Swift CI"))
51435143
func settingsCaching() async throws {
51445144
let testWorkspace = try await TestWorkspace(
51455145
"Workspace",

Tests/SWBUtilTests/FileHandleTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import SystemPackage
2222
#endif
2323

2424
@Suite fileprivate struct FileHandleTests {
25-
@Test(.skipHostOS(.freebsd, "Currently crashes on FreeBSD"))
25+
@Test(.flaky("Intermittent failures in Swift CI"), .skipHostOS(.freebsd, "Currently crashes on FreeBSD"))
2626
func asyncReadFileDescriptor() async throws {
2727
let fs = localFS
2828
try await withTemporaryDirectory(fs: fs) { testDataPath in

0 commit comments

Comments
 (0)