-
Notifications
You must be signed in to change notification settings - Fork 4
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
smbtorture: Prefer method
to find specific flapping list
#92
base: main
Are you sure you want to change the base?
smbtorture: Prefer method
to find specific flapping list
#92
Conversation
/retest centos-ci/cephfs |
I would rather keep the sharename -> variant logic out of sit-test-cases. Can you instead make this change in the sit-environment repo when building the test-info.yml file? This will keep the repo logic in naming the shares within the sit-environment repo itself and avoid complexity. All testing access is over SMB only and the backend-variant combination is simply an arbitrary sting used to select the right list of tests in the smbtorture test suite. |
This would mean we contradict ourselves with the meaning of
Sorry, I didn't get that correctly. IIUC, backend/variant doesn't affect the decision on what smbtorture tests are run against shares. Don't we run everything from smbtorture-tests-info.yml blindly against every listed shares? |
We could rename the fields in the test-info.yml if that helps. There aren't many external users at the moment and we can make the changes without risk of regression.
You are right, we run all tests but we list the tests where we choose to ignore the tests in the flapping lists. |
beefbd1
to
695fc11
Compare
method
to find specific flapping list
695fc11
to
52df3b3
Compare
samba-in-kubernetes/sit-environment#121 adds 'method' to share section in test-info.yml. With 'variant' no longer relevant, prefer 'method' to determine the need for VFS specific flapping file. Signed-off-by: Anoop C S <[email protected]>
52df3b3
to
09432ab
Compare
Please see samba-in-kubernetes/sit-environment#121. |
There is no reason to use the logic from sit-environment to sit-test-cases. I would prefer to keep the configuration for sit-test-cases simple. A possible way of keeping this simple is setting up the fields in test-info.yml in the following manner- or Both these cases will need us to rename the flapping lists for the smbtorture tests. To simplify it further, we can remove the variant too. But the reason we had that was because we wanted a default set of flapping list and only a few 'variant' needed exceptions to be made to the flapping list. Removing the 'variant' field will require us to create a list for each backend-variant-method so may not be feasible. I prefer the second approach from the two options given above. To avoid confusion of terminology of sit-environment and sit-test-cases being different, we can rename the field variant to backend_option. |
samba-in-kubernetes/sit-environment#121 adds
method
to share section in test-info.yml. Withvariant
no longer relevant, prefermethod
to determine the need for VFS specific flapping file.