Caching And MemcacheΒΆ

Solano CI will automatically configure a memcached server for your tests.

If you’re using the dalli store, it should configure automatically with no change on your part.

If you’re using a different memcache client, you will need to make sure to configure with the appropriate server and port settings. Solano CI will set the following environment variables which you will need to use to configure your memcached client:

MEMCACHE_SERVERS
TDDIUM_MEMCACHE_HOST
TDDIUM_MEMCACHE_USER
TDDIUM_MEMCACHE_PORT
TDDIUM_MEMCACHE_NAMESPACE

At least the value of TDDIUM_MEMCACHE_NAMESPACE will be different in each concurrent test thread.

If your client configuration does not take the namespace into account you may experience intermittent test failures when concurrent tests interfere with each other.