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

Couple of improvements for faster tests #1288

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jfckm
Copy link

@jfckm jfckm commented Jul 22, 2022

Needs changes in test-framework. Also, fails sporadically while removing partitions - still needs some debugging


This change is Reviewable

@jfckm jfckm added the RFC Request For Comments label Jul 22, 2022
mmichal10
mmichal10 previously approved these changes Jul 29, 2022
@jfckm jfckm dismissed stale reviews from mmichal10 and karolinavelkaja via f3ee6a7 August 16, 2022 12:52
@pep8speaks
Copy link

pep8speaks commented Aug 16, 2022

Hello @jfckm! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-09-13 08:26:54 UTC

@jfckm jfckm force-pushed the faster-tests branch 3 times, most recently from ccc3af0 to 5f230ed Compare August 16, 2022 13:05
pdebski21
pdebski21 previously approved these changes Aug 19, 2022
Copy link
Contributor

@kmajzero kmajzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if a particular test would need custom setup/teardown? Is this possible (or even needed)?

@jfckm
Copy link
Author

jfckm commented Aug 22, 2022

What if a particular test would need custom setup/teardown? Is this possible (or even needed)?

Right now I believe it's handled by doing prepare/teardown inline in test or separating it out to per-module functions. You could also use fixtures, but (sadly) they don't get much use in our TF/tests.

kmajzero
kmajzero previously approved these changes Aug 22, 2022
@jfckm jfckm dismissed stale reviews from kmajzero and pdebski21 via a07347f September 8, 2022 11:03
@jfckm jfckm force-pushed the faster-tests branch 2 times, most recently from a07347f to 0e80c34 Compare September 9, 2022 07:48
@jfckm
Copy link
Author

jfckm commented Sep 9, 2022

@CAS-Linux-Jenkins retest this please

Jan Musial added 2 commits September 13, 2022 10:25
Signed-off-by: Jan Musial <jan.musial@intel.com>
Signed-off-by: Jan Musial <jan.musial@intel.com>
@Deixx
Copy link
Contributor

Deixx commented Sep 2, 2024

needs serious analysis, preferably by the author

  1. conflicts (not surprising after this time)
  2. test-framework changes implied (is there a corresponding MR for TF?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request RFC Request For Comments tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants