MB-24293: Retry atmost 10 times if directory removal fails 54/78254/12
authorSriram Ganesan <sriram@couchbase.com>
Wed, 17 May 2017 19:01:53 +0000 (12:01 -0700)
committerDave Rigby <daver@couchbase.com>
Wed, 24 May 2017 16:07:03 +0000 (16:07 +0000)
commitb2610c4f90c1264fcac4ce99697d59b30784f05b
treef2cddbd641eca0b48353b1e4facc0cf546ab3dbc
parent00142436fa9fcec88d49ce26c7aa51921fbdb0a8
MB-24293: Retry atmost 10 times if directory removal fails

The database directory is removed in order to simulate a commit
failure. The directory removal could fail for various reasons.
Retry atmost 10 times to remove the directory

Change-Id: I16e81f3572e0b7d58af3d5ee1f7849aec8cabf97
Reviewed-on: http://review.couchbase.org/78254
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
tests/ep_testsuite.cc
tests/ep_testsuite_common.cc
tests/module_tests/evp_engine_test.cc
tests/module_tests/kv_bucket_test.cc
tests/module_tests/kvstore_test.cc