[LU-2819] Inverted logic of EXCEPT_SLOW Created: 15/Feb/13  Updated: 28/Oct/15  Resolved: 28/Oct/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Kyr Shatskyy (Inactive) Assignee: WC Triage
Resolution: Won't Fix Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 6824

 Description   

Every man can think that EXCEPT_SLOW is a list of test that should be skipped for "slow" testing. In many test we can see such lines as:

[ "$SLOW" = "no" ] && EXCEPT_SLOW="5"
[ "$SLOW" = "no" ] && EXCEPT_SLOW="12 23 33a"

That in fact means "following test should be run only when SLOW=true".
I suppose EXCEPT_SLOW should be something like SLOW_ONLY.
I understand that EXCEPT_SLOW can be read as "except slow tests",
but this is complicated logic.

What about ridding off EXCEPT_SLOW at all and move slow tests to separate suites, like sanity-slow, sanityn-slow?



 Comments   
Comment by Andreas Dilger [ 28/Oct/15 ]

I don't think there is a significant benefit from changing this. I'd be fine to have a patch before the EXCEPT_SLOW lines that explain what this means, something like:

# Exclude slow tests that take more than a few minutes to run. Enable them with SLOW=yes.
[ "$SLOW" = "no" ] && EXCEPT_SLOW="24o 24D 27m 64b 68 71 77f 78 115 124b 300o"
Generated at Sat Feb 10 01:28:28 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.