MB-23530: Add test for CAS set after delete 26/76326/7
authorJames Harrison <00jamesh@gmail.com>
Wed, 5 Apr 2017 14:37:36 +0000 (15:37 +0100)
committerDave Rigby <daver@couchbase.com>
Thu, 13 Apr 2017 13:21:20 +0000 (13:21 +0000)
commitc443cd31a24aca7419e312dcf37b06e7b1b4528c
treeb41e7ef2e7f5256b3a7f024312da15e32590c1bf
parent3e3006ce0af833a7e9ba2c38f13e7cdc5b454549
MB-23530: Add test for CAS set after delete

It is erroneously possible to set an item with CAS after deleting it on
an ephemeral bucket or a full eviction persistent bucket. This breaks
the expected behaviour.

This test should identify this failure and as such can not be enabled
for these types until after the issue is resolved.

Change-Id: I5b382d10a2fa6f955645d8305282a494b5f8ba6b
Reviewed-on: http://review.couchbase.org/76326
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
tests/module_tests/kv_bucket_test.cc