Whamcloud - gitweb
LU-16905 tests: Fix 'timeout' value under sanity-quota/18 37/51337/5
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Thu, 15 Jun 2023 22:42:09 +0000 (04:12 +0530)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Jun 2023 21:49:30 +0000 (21:49 +0000)
commitb7fe927b0dd5b895bd1df607d75aa6069577e454
tree6da338e62bd0a7d9d356e0bb97ab3fb0c6b10f55
parentd6df160877cda3ff1e0b3ce5c4df46fa17e1468a
LU-16905 tests: Fix 'timeout' value under sanity-quota/18

Presently timeout is picked up via sysctl command
under sanity-quota/18. Which is picking up timeout
from incorrect location. This patch fixes the issue
by reading via $LCTL directly.

sysctl output:
timeout=$(sysctl -n lustre.timeout)
sysctl: cannot stat /proc/sys/lustre/timeout: No such file or directory

Test-Parameters: trivial fstype=zfs testlist=sanity-quota env=ONLY=18
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I4604d31c615fa65bf79598cc09f05d9c7c7abf1b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51337
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
lustre/tests/sanity-quota.sh