Whamcloud - gitweb
LU-8344 test: fix sanity 256 98/29598/3
authorAlexander Boyko <c17825@cray.com>
Fri, 13 Oct 2017 08:57:49 +0000 (04:57 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 19 Oct 2017 06:18:16 +0000 (06:18 +0000)
commit45e5e76e3295a926abce322b014374b5d5a2d6a3
tree9cb6fc1b1a3cfc9ca5a7d458b28062cb4a0df547
parent9d068048603fefbab1eea8d8bb5a246ce4375dca
LU-8344 test: fix sanity 256

The test error
 Changelog catalog has wrong number of slots 1
is a result of the debugfs dump happaned before a previous
changes were commited to a disk.

The patch adds mds sync before debugfs command.
Also it fixes temp file removal.

Signed-off-by: Alexander Boyko <c17825@cray.com>
Change-Id: Ic14a58956642f419b0f6d695027f88a0cad9fd39
Test-Parameters: trivial testlist=sanity
Reviewed-on: https://review.whamcloud.com/29598
Reviewed-by: Sergey Cheremencev <cherementsev@gmail.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/tests/sanity.sh