Whamcloud - gitweb
LU-14377 tests: make parallel-scale/rr_alloc less strict
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Oct 2022 00:37:58 +0000 (18:37 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 17 Jan 2023 19:40:15 +0000 (19:40 +0000)
commit5eee2c0db67db108269ee43e83722d012f38cd77
tree13c3da2806b9ac6d49406c32808d6a0954457d2e
parente0143a820daab5be1f1635e50a2485feda5ae94c
LU-14377 tests: make parallel-scale/rr_alloc less strict

test_rr_alloc() sometimes fails with a difference of 3-4 objects
per OST, after creating 1500+ objects on each OST.  This should
not be considered fatal.  Make the test more lenient, and allow
a difference of up to 0.3% of objects between the OSTs.

Fix some code style issues in the test.

Lustre-change: https://review.whamcloud.com/48914
Lustre-commit: b104c0a27713899a4d047f56fed57c30c39b8195

Test-Parameters: trivial testlist=parallel-scale env=ONLY=rr_alloc
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ib6ba8c5d8e9d3245833448a52f8ed25308698a33
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Elena Gryaznova <elena.gryaznova@hpe.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49607
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/functions.sh