Skip to content

Commit 8a50a33

Browse files
leogdionclaude
andcommitted
Skip URLSession network tests on Android
- Wrap URLSessionTests in #if !os(Android) to exclude from Android builds - Android emulator lacks proper SSL certificate configuration - Tests fail with "SSL certificate problem: unable to get local issuer certificate" Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 9896ba1 commit 8a50a33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/BushelUtlitiesTests/URLSessionTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
// OTHER DEALINGS IN THE SOFTWARE.
2828
//
2929

30+
// Skip network tests on Android due to SSL certificate issues in emulator
31+
#if !os(Android)
3032
import XCTest
3133

3234
@testable import BushelUtilities
@@ -105,3 +107,4 @@ internal final class URLSessionTests: XCTestCase {
105107
}
106108
}
107109
}
110+
#endif

0 commit comments

Comments
 (0)