Whamcloud - gitweb
LU-1562 test: recovery-small tests 2,3,5 failed
authorKyrylo Shatskyy <kyrylo_shatskyy@xyratex.com>
Mon, 9 Jul 2012 09:23:17 +0000 (12:23 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 27 Jul 2012 23:17:17 +0000 (19:17 -0400)
commitb56734e0d19293ee41c3001edfa68510c154e8cf
tree20ec07551a3307c01ebf5ddc0899024acde518be
parent7afc929a07efcbf33e27314776f057432f60b473
LU-1562 test: recovery-small tests 2,3,5 failed

1. The code that executed between tests has been cleaned up
and moved to corresponding tests which use it to avoid its
execution all the time, even if it is not required when
running using ONLY.
2. The test_2, and test_3 has been joined with test_1,
and the test_7 has been joined with test_6, because
they are in fact single scenario.
3. Random and zero file creation code moved to corresponding
utility functions in the test-framework.sh
4. Added bash stack trace printing code to error_noexit that
make it easier to analyze logs.

Xyratex-bug-id: MRP-411
Signed-off-by: Kyrylo Shatskyy <kyrylo_shatskyy@xyratex.com>
Reviewed-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Change-Id: Iea417c99edb001e4f5ad0d0980c7c10012e2514a
Reviewed-on: http://review.whamcloud.com/3182
Tested-by: Hudson
Reviewed-by: Li Wei <liwei@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/recovery-small.sh
lustre/tests/test-framework.sh