DESCRIPTION

MB-12751: Replace for locked key should return EEXISTS

Change-Id: I34184b79f1f94ea6eee39bae26520c126ff87e2a


COMMENTS

author: Asher Vang
date: 2014-11-26 08:28:18.754000000

Uploaded patch set 3.

-------------------------------------
author: Hugo Blankenship
date: 2014-11-26 08:28:23.630000000

Patch Set 3:

Build Started http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/3174/

-------------------------------------
author: Hugo Blankenship
date: 2014-11-26 08:45:06.311000000

Patch Set 3: Verified+1

Build Successful 

http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/3174/ : SUCCESS

-------------------------------------
author: Ashlee Kent
date: 2014-11-26 08:52:13.230000000

Patch Set 3:

(1 comment)

Line:21, pytests/regressions/regressiontest.py -> Better to use the symbolic constant: 

import memcacheConstants
memcacheConstants.ERR_KEY_EEXISTS

-------------------------------------
author: Asher Vang
date: 2014-11-26 10:26:58.988000000

Patch Set 3:

(1 comment)

Line:21, pytests/regressions/regressiontest.py -> I tried that and got:

Traceback (most recent call last):
  File "pytests/regressions/regressiontest.py", line 21, in test_MB_12751
    if e.status != memcacheConstants.ERR_KEY_EEXISTS:
AttributeError: 'module' object has no attribute 'ERR_KEY_EEXISTS'

-------------------------------------
author: Ashlee Kent
date: 2014-11-26 10:32:16.235000000

Patch Set 3:

(1 comment)

Line:21, pytests/regressions/regressiontest.py -> Joy - it appears that testrunner has forked memcacheConstants and it differs from the main ep_engine one :(

Try memcacheConstants .ERR_EXISTS instead.

-------------------------------------
