-
Notifications
You must be signed in to change notification settings - Fork 207
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
improve tests #1021
Open
evrardjp
wants to merge
7
commits into
kubereboot:main
Choose a base branch
from
evrardjp:improve_tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
improve tests #1021
Commits on Nov 7, 2024
-
Add e2e test concurrency w/ signal
This will help make sure the big refactoring does not break the main features. Signed-off-by: Jean-Philippe Evrard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a02626 - Browse repository at this point
Copy the full SHA 9a02626View commit details -
Extends test coverage to ensure nothing breaks Signed-off-by: Jean-Philippe Evrard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27c9c5d - Browse repository at this point
Copy the full SHA 27c9c5dView commit details -
Rename "version" with "variant" in tests
For tests not running in different kubernetes versions, but have different tests subcases/variants, rephrase the wording "versions" as it is confusing. Signed-off-by: Jean-Philippe Evrard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a1750d - Browse repository at this point
Copy the full SHA 0a1750dView commit details -
Fix Staticcheck's SA1024 (subset with dupe chars)
This will replace trim, taking a cutset, with Replace. This clarifies the intent to remove a substring. Signed-off-by: Jean-Philippe Evrard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6170770 - Browse repository at this point
Copy the full SHA 6170770View commit details -
According to staticcheck, Error strings should not be capitalized (ST1005). This changes the cases for our errors. Signed-off-by: Jean-Philippe Evrard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca73c4a - Browse repository at this point
Copy the full SHA ca73c4aView commit details -
A few strings have evolved to eventually remove all the templating part of their strings, yet kept the formatting features. This is incorrect, and will not pass staticcheck SA1006 and S1039. Signed-off-by: Jean-Philippe Evrard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cb82a0 - Browse repository at this point
Copy the full SHA 3cb82a0View commit details -
Without this, people like myself will forget to run staticcheck. This fixes it by making it part of make tests, which will run with all the fast tests in CI. Signed-off-by: Jean-Philippe Evrard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76765f5 - Browse repository at this point
Copy the full SHA 76765f5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.