Whamcloud - gitweb
LU-4366 test: sync didn't return ENOMEM 58/14658/3
authorBobi Jam <bobijam.xu@intel.com>
Mon, 4 May 2015 11:05:00 +0000 (19:05 +0800)
committerAndreas Dilger <andreas.dilger@intel.com>
Thu, 7 May 2015 08:13:47 +0000 (08:13 +0000)
commitefd7a91040fc87cc73c3b68c7a8ac970606cb9cd
tree8540766902c81eadb7f916a001b7ba96034234f8
parent77d406a0699307e8e633ef41f8984f45c09db9b8
LU-4366 test: sync didn't return ENOMEM

The fail_loc has been intercepted by earlier write, this patch add
a sync before setting the fail_loc.

Test-Parameters: alwaysuploadlogs testlist=sanity
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I0517ccc591651e275dc4d4cd2a3de179c2c2b3f1
Reviewed-on: http://review.whamcloud.com/14658
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity.sh