Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Sep 6, 2024

Makes test_rendering faster. Yamatanooroti's wait time is reduced from 0.1 sec to 0.01 sec
rake test_yamatanooroti(vterm-yamatanooroti ubuntu-latest head) 209 seconds → 57 seconds

write "abc\ndef\nhi"
pid = pidfile.tap(&:rewind).read.to_i
Process.kill(:STOP, pid) unless pid.zero?
write "fg\n"
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems to wait to ruby waking up after fg.
How about assert_screen(/fg\n.*>/m)

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks great, thanks! added

@tompng tompng marked this pull request as ready for review September 16, 2024 18:03
Copy link
Member

@ima1zumi ima1zumi left a comment

Choose a reason for hiding this comment

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

🚀 🚀 🚀

@ima1zumi ima1zumi merged commit 7534f7f into ruby:master Oct 3, 2024
@tompng tompng deleted the new_yamatanooroti branch October 3, 2024 16:12
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.

3 participants