Whamcloud - gitweb
LU-10970 tests: make sure write is complete 03/32203/5
authorPatrick Farrell <paf@cray.com>
Mon, 30 Apr 2018 12:10:38 +0000 (07:10 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Jul 2018 16:00:30 +0000 (16:00 +0000)
commita55af59ff73b678638375032abb7ec3baf7841a6
treeadaacc5d0151190f59283cc278c0a1191799cb8f
parentdc20047b21d9c28a0ca8a0dc4e2a0f1cdc1fa3f9
LU-10970 tests: make sure write is complete

The current test does not guarantee the write has arrived
on the server before dropping caches and checking memory
usage.  If the write is still in progress, the baseline
memory used value will be incorrect.

Sync on the client to force the write out.

Test-Parameters: trivial

Cray-bug-id: LUS-5923
Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: Ic0379ffdfd14ff630d65a0197a99fba929868e9c
Reviewed-on: https://review.whamcloud.com/32203
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/sanity.sh