-
Notifications
You must be signed in to change notification settings - Fork 1.1k
test/devices.bats: nits #4369
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
test/devices.bats: nits #4369
Conversation
This saves some time (a few seconds per test at least) as we avoid running setup_test (and cleanup_test has nothing to clean up), and removes some code duplication. Signed-off-by: Kir Kolyshkin <[email protected]>
|
/approve |
Codecov Report
@@ Coverage Diff @@
## master #4369 +/- ##
=======================================
Coverage 39.29% 39.29%
=======================================
Files 112 112
Lines 8835 8835
=======================================
Hits 3472 3472
Misses 4977 4977
Partials 386 386 |
...and add a status check to one case where we use run, to make it more obvious that `run` is really needed here. Signed-off-by: Kir Kolyshkin <[email protected]>
881dd66 to
245ed8e
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, kolyshkin, mrunalp The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
OK, we need to fix the test to use a device other than So adding WIP for now. |
Using /dev/loop-control is problematic since it is not supposed to be read from or written to. Use /dev/kmsg, and actually enable the write test. Signed-off-by: Kir Kolyshkin <[email protected]>
|
|
245ed8e to
b3000eb
Compare
|
Seems like some tests failed to restart after a force push /retest |
|
/retest (e2e-aws is still supposed to fail) |
|
/kind ci |
|
This one is ready |
|
/test e2e-aws |
|
/test e2e-aws |
|
/lgtm |
|
/retest |
|
OK it seems that openshift/release#13708 was a mistake :( Opened a revert PR: openshift/release#13736 |
|
/retest |
1 similar comment
|
/retest |
|
Same failure in
/test images |
|
/retest (two jobs never reported status back, and e2e-agnostic got many failures) |
|
/test e2e-agnostic |
4 similar comments
|
/test e2e-agnostic |
|
/test e2e-agnostic |
|
/test e2e-agnostic |
|
/test e2e-agnostic |
|
/retest |
|
/test e2e-agnostic |
|
/test critest_fedora |
|
/cherry-pick release-1.20 |
|
@haircommander: new pull request created: #4418 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind ci
What this PR does / why we need it:
A few minor fixes and improvements to test/devices.bats. Please see individual commits for details.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?