-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
containerd/console is broken for mac consider creack/pty #1449
Comments
@TerryHowe How could a macOS user reproduces this issue? I am a macOS user but seems have not encountered this issue before. |
This should only impact unit tests run on macOS. IMHO since there is no automated CI run on macOS, we can simply exclude macOS from PTY-related tests. Refactoring test infra to |
Yes, as far as I know only the unit tests are broken, but the way I read this containerd console was not really being supported like it is pretty much a dead project. Something needs to be done at least to minimize the impact of the broken tests. If one class wrapped the console in a way that could be mocked, we could run |
Originally choosing
Again, to me there is no macOS CI for unit test so it's easier to just exclude Darwin out of unit test. We might do need to switch to |
The problem is there are tests up and down (from console_test to cp_test) that are not run on mac because of this. No need to change containerd/console, just need to isolate the implementation so it can be mocked and only low level tests like console_test will not run on mac. |
As an original reporter of containerd/console#79, I strongly recommend |
If I can complete #1461 to isolate the separation of concerns, trying out |
What is the version of your ORAS CLI
1.2.0
What would you like to be added?
Working console
Why is this needed for ORAS?
Tests are broken for mac. They will not fix.
containerd/console#79
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: