From bdebc4c01a6e0895bcfba680ab5bbd2a82f83be8 Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Fri, 17 Dec 2010 09:25:35 +0800 Subject: [PATCH] b=24245 skip sanity test 123 under 1.8 <-> 2.x interoperability mode statahead is disabled automatically under 1.8 <-> 2.x interoperability mode i=grev --- lustre/tests/sanity.sh | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 027f266..0cdc68f 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5358,6 +5358,13 @@ test_122() { #bug 11544 run_test 122 "fail client bulk callback (shouldn't LBUG) =======" test_123a() { # was test 123, statahead(bug 11401) + # interop 18 <-> 2x + local lustre_version=$(get_lustre_version mds) + if [[ $lustre_version != 1.8* ]]; then + skip mds running $lustre_version, statahead is disabled + return 0 + fi + SLOWOK=0 if [ -z "$(grep "processor.*: 1" /proc/cpuinfo)" ]; then log "testing on UP system. Performance may be not as good as expected." @@ -5456,8 +5463,15 @@ test_123a() { # was test 123, statahead(bug 11401) run_test 123a "verify statahead work" test_123b () { # statahead(bug 15027) - mkdir -p $DIR/$tdir - createmany -o $DIR/$tdir/$tfile-%d 1000 + # interop 18 <-> 2x + local lustre_version=$(get_lustre_version mds) + if [[ $lustre_version != 1.8* ]]; then + skip mds running $lustre_version, statahead is disabled + return 0 + fi + + mkdir -p $DIR/$tdir + createmany -o $DIR/$tdir/$tfile-%d 1000 cancel_lru_locks mdc cancel_lru_locks osc -- 1.8.3.1