Skip to content
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

refactor(pytest): make debugging easier #598

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

tiagolobocastro
Copy link
Contributor

Change a lot of return Nones for exceptions which aids debugging by failing at the point of failure
Reduce verbose logging when install/upgrades takes some time due to cpu or network constraints
Remove extra logging
Allow using kubectl plugin from path

I think the tests are currently broken for release branches as its asserting for develop.
Also we're modifying the chart itself, which is not ideal. todo: improve this

Description

Motivation and Context

Regression

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added unit tests to cover my changes.

@tiagolobocastro
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Jan 9, 2025
@bors-openebs-mayastor
Copy link
Contributor

try

Build failed:

Change a lot of return Nones for exceptions which aids debugging by
failing at the point of failure
Reduce verbose logging when install/upgrades takes some time due to
cpu or network constraints
Remove extra logging
Allow using kubectl plugin from path

I think the tests are currently broken for release branches as its
asserting for develop.
Also we're modifying the chart itself, which is not ideal.
todo: improve this

Signed-off-by: Tiago Castro <[email protected]>
@tiagolobocastro tiagolobocastro force-pushed the pytest branch 2 times, most recently from f82d8b0 to be41609 Compare January 10, 2025 13:36
When deploying a kind cluster, ensure we allocate the requested hugepages.

Signed-off-by: Tiago Castro <[email protected]>
Ensure install is properly completed
Ensure upgrade is properly completed
Compare against v-next and not v-next since there's no current way
of knowing which version is the current helm chart.
This may get addressed if we start building the images and the
chart as v-next from the outset.

Signed-off-by: Tiago Castro <[email protected]>
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.

1 participant