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
mgr/ssh: add make check integration #31523
mgr/ssh: add make check integration #31523
Conversation
src/pybind/mgr/ssh/__init__.py
Outdated
|
||
|
||
if 'UNITTEST' not in os.environ: | ||
from .module import SSHOrchestrator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't we patch the module where the tests are executed? Mixing the mocking code and the real code in one file doesn't look very nice imo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have that problem that we can't import .module
as some base classes are generated in C++ and thus will fail with a NameError
. Do you have a better idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm. no.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #31561
de5c700
to
3bd631c
Compare
@tchaikov what do you think. would it be ok to just add |
|
Fixed in https://github.com/ceph/ceph/pull/31561/files#diff-5f73b53794fdc79745e3723b3947f73cR2 |
3bd631c
to
6ee02b2
Compare
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6ee02b2
to
c7bb0ec
Compare
Extracted from #30262
Might be able to drop the cmake integration, if we #30364 is in.
Signed-off-by: Sebastian Wagner sebastian.wagner@suse.com
Depends on:
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard backend
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox