Comment 33 for bug 1202952

Revision history for this message
Morgan Fainberg (mdrnstm) wrote : Re: PKI tokens are never revoked using memcache token backend

Running through the folsom patch from #29, it looks like memcache fix was not adding in the "expired" field, which would cause list_revoked_tokens to fail.

Attached is a fix based upon patch from #29 with added functionality to handle adding 'expires' into the revocation-list (per token) in the memcache token driver. Updated new tests to verify token_id and expires both are in each element of the revocation_list. Updated TokenTests.test_token_crud to avoid stripping "expired" fields from tokens in fake-memcache server, ensuring tests will now complete.