Unit test got freeze then re-run #167827
Replies: 4 comments 2 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Oh turn out the simulator crash in Github macOS simulator. Crash right on start. Don't know why yet but at least that seem the reason why the Test suite got re-run and missing out randomly 1 test case. |
Beta Was this translation helpful? Give feedback.
-
|
Fully Reset the Simulator Before Tests Start Add Automatic Retry to Fastlane Tests
Check Your GitHub Actions Environment Additional Tips |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
Misc
Discussion Details
Please check this short log. It is iOS/FastLane/GithubAction
The
Test Suite 'Project.xctest'already started before ( at 12:23:29 ). Test run normally a while before these happen.Don't know where is
Selected testscomes from, not in project itself.The Project test seem got resume from something, then the ABC test continues. But it does not execute 1 test. Which make the action fail at the end
And this happen randomly, not in any specific test or test file. It just seem that the host out of memory and got re-start or something?
Locally run fastlane works pass normally.
Also I have not made any recent changes to GitHub action or fast lane at all. It just start to fail couple days ago.
Also if I change project structure, sometimes it pass.
Also tried to ignore "Selected tests" in fast lane file, still fail and it still run the "Selected tests" - make sense since there is no "Selected tests" in my project.
Please help. Got stuck with this couple of days already.
Beta Was this translation helpful? Give feedback.
All reactions