Skip to content

Conversation

@marcprux
Copy link
Contributor

@marcprux marcprux commented Dec 7, 2025

followSymlinkInits is failing on an Android emulator (API 28 and 35). See https://github.com/swift-android-sdk/swift-android-sdk-workflow-demo/actions/runs/20010192707/job/57378485958#step:22:1657 :

Test followSymlinkInits() recorded an issue at StatTests.swift:121:7: Expectation failed: (symlinkStat.sizeAllocated → 8192) < (targetStat.sizeAllocated → 8192)

I can also reproduce it locally with skip android test.

I believe this is a known limitation of symbolic links on Android.

Note that the Android CI in https://github.com/swiftlang/github-workflows only builds and doesn't (yet) test, so this wasn't caught in the checks that were added in #270.

#expect(symlinkStat.size < targetStat.size)

#if os(Android)
#expect(symlinkStat.sizeAllocated <= targetStat.sizeAllocated)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect a citation for this and potentially a documentation update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants