Skip to content

Commit 0c0c085

Browse files
committed
Annotate two tests as flaky
1 parent 1aece47 commit 0c0c085

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
@@ -5073,7 +5073,7 @@ import SWBMacro
50735073
/// Test that we can look up different `Settings` objects the caching in the `BuildRequestContext` works.
50745074
///
50755075
/// 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.
5076-
@Test
5076+
@Test(.flaky("Intermittent failures in Swift CI"))
50775077
func settingsCaching() async throws {
50785078
let testWorkspace = try await TestWorkspace(
50795079
"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)