Whamcloud - gitweb
LU-12016 tests: skip sanity/156 in interop
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 25 Nov 2022 02:28:21 +0000 (19:28 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 25 Nov 2022 22:59:37 +0000 (22:59 +0000)
Since LU-12071 was backported to b_es5_2 the version check on b_es6_0
is incorrect and this part of the test_156 should be skipped.

Test-Parameters: trivial testlist=sanity env=ONLY=156 serverversion=EXA5
Fixes: 3043c6f189 ("LU-12071 osd-ldiskfs: bypass pagecache if requested")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I3fd96578e36675655fb265d83ba3f661950ab112
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49246
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity.sh

index d63526d..858cef8 100755 (executable)
@@ -15370,8 +15370,8 @@ test_156() {
                log "cache hits:: before: $BEFORE, after: $AFTER"
        fi
 
-       if [ $OST1_VERSION -lt $(version_code 2.12.55) ]; then
-               # > 2.12.56 uses pagecache if cached
+       if [ $OST1_VERSION -lt $(version_code 2.12.3) ]; then
+               # > 2.12.3 uses pagecache if cached
                log "Read again; it should not be satisfied from the cache."
                BEFORE=$AFTER
                cancel_lru_locks osc
@@ -15397,8 +15397,8 @@ test_156() {
                log "cache hits:: before: $BEFORE, after: $AFTER"
        fi
 
-       if [ $OST1_VERSION -lt $(version_code 2.12.55) ]; then
-               # > 2.12.56 uses pagecache if cached
+       if [ $OST1_VERSION -lt $(version_code 2.12.3) ]; then
+               # > 2.12.3 uses pagecache if cached
                log "Read again; it should not be satisfied from the cache."
                BEFORE=$AFTER
                cancel_lru_locks osc