Issue #3 resolved

MemcachedBackend does not pass memcached_expire_time

Justin Azoff
created an issue

PylibmcBackend uses memcached_expire_time and min_compress_len, but MemcachedBackend doesn't pass these through to set().

I see how to write a test that will fail, but I'm not sure how you would want this to be fixed.. I'll work on the test case..

Comments (4)

  1. Mike Bayer repo owner

    you can see them in this output:

    
    SKIP: Backend dogpile.cache.bmemcached not installed
    SKIP: Backend dogpile.cache.bmemcached not installed
    SKIP: Backend dogpile.cache.bmemcached not installed
    test_client_cleanup_1 (tests.cache.test_memcached_backend.LocalThreadTest) ... ok
    test_client_cleanup_10 (tests.cache.test_memcached_backend.LocalThreadTest) ... ok
    test_client_cleanup_3 (tests.cache.test_memcached_backend.LocalThreadTest) ... ok
    test_set_min_compress_len (tests.cache.test_memcached_backend.MemcachedArgstest) ... ok
    test_set_time (tests.cache.test_memcached_backend.MemcachedArgstest) ... ok
    test_mutex (tests.cache.test_memcached_backend.MemcachedDistributedMutexTest) ... ok
    test_mutex_threaded (tests.cache.test_memcached_backend.MemcachedDistributedMutexTest) ... ok
    test_backend_delete (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_backend_delete_nothing (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_backend_get_nothing (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_backend_set_get_value (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_region_creator (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_region_delete (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_region_expire (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_region_set_get_nothing (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_region_set_get_value (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_threaded_dogpile (tests.cache.test_memcached_backend.MemcachedDistributedTest) ... ok
    test_backend_delete (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_backend_delete_nothing (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_backend_get_nothing (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_backend_set_get_value (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_region_creator (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_region_delete (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_region_expire (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_region_set_get_nothing (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_region_set_get_value (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_threaded_dogpile (tests.cache.test_memcached_backend.MemcachedTest) ... ok
    test_behaviors (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
    test_binary_flag (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
    test_no_set_args (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
    test_set_min_compress_len (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
    test_set_time (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
    test_url_list (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
    test_url_scalar (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
    test_mutex (tests.cache.test_memcached_backend.PylibmcDistributedMutexTest) ... ok
    test_mutex_threaded (tests.cache.test_memcached_backend.PylibmcDistributedMutexTest) ... ok
    test_backend_delete (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_backend_delete_nothing (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_backend_get_nothing (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_backend_set_get_value (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_region_creator (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_region_delete (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_region_expire (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_region_set_get_nothing (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_region_set_get_value (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_threaded_dogpile (tests.cache.test_memcached_backend.PylibmcDistributedTest) ... ok
    test_backend_delete (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_backend_delete_nothing (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_backend_get_nothing (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_backend_set_get_value (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_region_creator (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_region_delete (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_region_expire (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_region_set_get_nothing (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_region_set_get_value (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_threaded_dogpile (tests.cache.test_memcached_backend.PylibmcTest) ... ok
    test_backend_delete (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_backend_delete_nothing (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_backend_get_nothing (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_backend_set_get_value (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_region_creator (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_region_delete (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_region_expire (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_region_set_get_nothing (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_region_set_get_value (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    test_threaded_dogpile (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
    
    
  2. Log in to comment