diff --git a/Tests/SWBCoreTests/SettingsTests.swift b/Tests/SWBCoreTests/SettingsTests.swift index b32b506f..de216703 100644 --- a/Tests/SWBCoreTests/SettingsTests.swift +++ b/Tests/SWBCoreTests/SettingsTests.swift @@ -5073,7 +5073,7 @@ import SWBMacro /// Test that we can look up different `Settings` objects the caching in the `BuildRequestContext` works. /// /// 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. - @Test + @Test(.flaky("Intermittent failures in Swift CI")) func settingsCaching() async throws { let testWorkspace = try await TestWorkspace( "Workspace", diff --git a/Tests/SWBUtilTests/FileHandleTests.swift b/Tests/SWBUtilTests/FileHandleTests.swift index 6a837b96..07fe017a 100644 --- a/Tests/SWBUtilTests/FileHandleTests.swift +++ b/Tests/SWBUtilTests/FileHandleTests.swift @@ -22,7 +22,7 @@ import SystemPackage #endif @Suite fileprivate struct FileHandleTests { - @Test(.skipHostOS(.freebsd, "Currently crashes on FreeBSD")) + @Test(.flaky("Intermittent failures in Swift CI"), .skipHostOS(.freebsd, "Currently crashes on FreeBSD")) func asyncReadFileDescriptor() async throws { let fs = localFS try await withTemporaryDirectory(fs: fs) { testDataPath in