Whamcloud - gitweb
LU-10632 tests: recovery-small test_26 idle_timeout 06/42006/3
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 11 Mar 2021 09:39:57 +0000 (02:39 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Apr 2021 03:01:43 +0000 (03:01 +0000)
commitb4391fcdaf392a50bd1419342eca3b730c077ed2
tree928a64f54ed4434603a5e5d716fbbc529e387dee
parent1769f262b96745b61b21fd1450cc4c0386a41b95
LU-10632 tests: recovery-small test_26 idle_timeout

In recovery-small test_26() use "lfs df" instead of plain "df"
since statfs may be fetched from the MDS cache and will not
ensure that the client->OST connections are currently active.

Also, check a few entries further back in the OSC state log for an
EVICTED message, in case the client idle disconnects from the server
again while checking all of the imports.

Test-Parameters: trivial testlist=recovery-small env=ONLY=26a,ONLY_REPEAT=100
Fixes: 5a6ceb664f07 ("LU-7236 ptlrpc: idle connections can disconnect")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8c370cb75f4e06258ef3c032630fc20354a15dcc
Reviewed-on: https://review.whamcloud.com/42006
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/recovery-small.sh
lustre/tests/test-framework.sh