Skip to content

Conversation

@rogerluan
Copy link
Collaborator

Resolves #430

Some times progress_content = File.read(progress_log_file).split("\r").last would return nil, probably because the file although existed, it didn't have any content (temporarily at least).

In those cases, progress_content would be nil and crash down the process, causing the failed specs described in #430. This PR aims to fix that.

@rogerluan rogerluan changed the title Fix flaky specs when returned value is nil. fix flaky specs when progress_content is nil Apr 22, 2021
Copy link
Member

@joshdholtz joshdholtz left a comment

Choose a reason for hiding this comment

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

This looks good to me! I ran this update locally and Xcode seemed to still install 😉

@rogerluan rogerluan merged commit 2443000 into master Apr 27, 2021
@rogerluan rogerluan deleted the rogerluan/fix-flaky-spec branch April 27, 2021 03:28
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.

CI tests on ruby 2.5 are failing

3 participants