From 967619bffc5280ec81831d8a72a2e54fa48392d3 Mon Sep 17 00:00:00 2001 From: Bruno Faccini Date: Wed, 12 Feb 2014 10:52:07 +0100 Subject: [PATCH 1/1] LU-4613 tests: purge older request result in test_12o sanity-hsm/test_12o sub-test, which has been introduced as part of LU-3834, submits 2 RESTORE requests for the same FID and thus needs to purge 1st result from log before to check 2nd. Signed-off-by: Bruno Faccini Change-Id: Ia2a0ead487b29a68c8a920bae2aa1d654eac4051 Reviewed-on: http://review.whamcloud.com/9235 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: jacques-Charles Lafoucriere Reviewed-by: Oleg Drokin --- lustre/tests/sanity-hsm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index f535b7e..01dbc9b 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -1208,6 +1208,10 @@ test_12o() { # retry w/o failure injection do_facet $SINGLEMDS lctl set_param fail_loc=0 + # to be sure previous RESTORE result is gone + cdt_purge + wait_for_grace_delay + diff -q /etc/hosts $f st=$? -- 1.8.3.1