OSTs older than 2.15.59 won't have enable_health_write.
So skip the sanity/70a that requires it.
Test-Parameters: trivial
Test-Parameters: testlist=sanity clientversion=2.15 env=ONLY=70a,ONLY_REPEAT=10
Test-Parameters: testlist=sanity serverversion=2.15 env=ONLY=70a,ONLY_REPEAT=10
Fixes: e383791 ("LU-17216 ofd: make enable_health_write tunable")
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I320f6911e7b7064d49761a022c462b7c20f3a2e1
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53770
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter
run_test 69 "verify oa2dentry return -ENOENT doesn't LBUG ======"
test_70a() {
- # Perform a really simple test of health write
- # and health check
+ # Perform a really simple test of health write and health check
+ (( $OST1_VERSION >= $(version_code 2.15.59) )) ||
+ skip "OSTs < 2.15.59 doesn't have enable_health_write"
local orig_value="$(do_facet ost1 $LCTL get_param -n enable_health_write)"