Skip to content

Fix memcapable delete test with permissive servers#163

Open
psumbera wants to merge 1 commit into
awesomized:v1.xfrom
psumbera:solaris
Open

Fix memcapable delete test with permissive servers#163
psumbera wants to merge 1 commit into
awesomized:v1.xfrom
psumbera:solaris

Conversation

@psumbera
Copy link
Copy Markdown
Contributor

memcapable expected "delete a b c d e" to fail as a malformed ASCII delete command. Current memcached versions parse the extra tokens as accepted delete options and return NOT_FOUND for key "a" instead.

Accept either the strict parser error or NOT_FOUND for this probe so memcapable stays compatible with both older strict servers and current memcached behavior without version-gating the test.

memcapable expected "delete a b c d e" to fail as a malformed ASCII delete command. Current memcached versions parse the extra tokens as accepted delete options and return NOT_FOUND for key "a" instead.

Accept either the strict parser error or NOT_FOUND for this probe so memcapable stays compatible with both older strict servers and current memcached behavior without version-gating the test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant