Whamcloud - gitweb
LU-13352 tests: fix subtest duration for ONLY_REPEAT 72/37872/3
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 10 Mar 2020 22:00:25 +0000 (16:00 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 1 May 2020 04:27:11 +0000 (04:27 +0000)
commitd76093613f063e58ec440145338dbea9d18a2a25
treec074b33227939e32f98694509b4b3d76dfbe3c38
parente35b7751f49fb7044955e3fa65de5e1a6d638ca0
LU-13352 tests: fix subtest duration for ONLY_REPEAT

The subtest duration printed when the test passes was the total
elapsed time rather than the per-iteration time.  Print the
per-subtest time at the end of each iteration.

Fixes: e16e3d46ee8c ("LU-13169 tests: add ONLY_REPEAT parameter to repeat subtests")
Test-Parameters: trivial testlist=sanity env=ONLY=76,ONLY_REPEAT=10
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I0758df03ceb12c3c7c8d9cd62561d4ee7b3ebbe5
Reviewed-on: https://review.whamcloud.com/37872
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh