Whamcloud - gitweb
LU-3782 test: Fix for faliure when no file are created. 39/16939/9
authorKirtankumar Krishna Shetty <kirtan.shetty@seagate.com>
Mon, 26 Oct 2015 12:01:27 +0000 (17:31 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 14 Mar 2016 02:40:09 +0000 (02:40 +0000)
commit475083a145b3b02156ede309fbaefd17b3786228
treed72faa426b6ee2e319b93538fe82bbd4a4ef68fc
parent74d92933108dc64b110a843352cf3336dca249d0
LU-3782 test: Fix for faliure when no file are created.

The test_18 of ost-pools.sh failed when the createmany
function returns zero and test showed a divide by zero
error. Fixed the issue by adding a check for the return
value and also fixed incorrect average calculation.

Seagate-bug-id: MRP-1117
Signed-off-by: Kirtankumar Krishna Shetty <kirtan.shetty@seagate.com>
Change-Id: I13ea0c1aeb974b5e74dfc7d92fe4e3b744a1fba6
Reviewed-on: http://review.whamcloud.com/16939
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/ost-pools.sh