<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/tests/cache, branch 3.2</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=3.2</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=3.2'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2020-12-17T08:57:21Z</updated>
<entry>
<title>Fixed #29867 -- Added support for storing None value in caches.</title>
<updated>2020-12-17T08:57:21Z</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2020-12-14T10:42:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=bb64b99b78a579cb2f6178011a4cf9366e634438'/>
<id>urn:sha1:bb64b99b78a579cb2f6178011a4cf9366e634438</id>
<content type='text'>
Many of the cache operations make use of the default argument to the
.get() operation to determine whether the key was found in the cache.
The default value of the default argument is None, so this results in
these operations assuming that None is not stored in the cache when it
actually is. Adding a sentinel object solves this issue.

Unfortunately the unmaintained python-memcached library does not support
a default argument to .get(), so the previous behavior is preserved for
the deprecated MemcachedCache backend.
</content>
</entry>
<entry>
<title>Fixed #32193 -- Deprecated MemcachedCache.</title>
<updated>2020-12-09T20:27:32Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-12-09T20:27:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=5ce31d6a7142ca8c76d6b52fa42b3406b9a8ff48'/>
<id>urn:sha1:5ce31d6a7142ca8c76d6b52fa42b3406b9a8ff48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #32233 -- Cleaned-up duplicate connection functionality.</title>
<updated>2020-12-08T07:55:44Z</updated>
<author>
<name>Florian Apolloner</name>
<email>florian@apolloner.eu</email>
</author>
<published>2017-10-22T15:30:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=98e05ccde440cc9b768952cc10bc8285f4924e1f'/>
<id>urn:sha1:98e05ccde440cc9b768952cc10bc8285f4924e1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #32233 -- Added tests for nonexistent cache backend.</title>
<updated>2020-12-08T07:54:54Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-12-08T06:28:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0f00560d45ab2931647b0cbe44a27c37c576c6dc'/>
<id>urn:sha1:0f00560d45ab2931647b0cbe44a27c37c576c6dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #32233 -- Added tests for nonexistent cache and databases aliases.</title>
<updated>2020-12-08T07:54:50Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-12-08T06:05:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=30f2d1af03b1f1e981e8e15151079795914f8f2c'/>
<id>urn:sha1:30f2d1af03b1f1e981e8e15151079795914f8f2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Made small readability improvements.</title>
<updated>2020-10-28T19:20:20Z</updated>
<author>
<name>Martin Thoma</name>
<email>info@martin-thoma.de</email>
</author>
<published>2020-09-24T16:37:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=302caa40e4caab7d95ef7d0a88a90f935039ab09'/>
<id>urn:sha1:302caa40e4caab7d95ef7d0a88a90f935039ab09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reverted "Reduced time.sleep() in cache touch() tests."</title>
<updated>2020-10-19T17:54:23Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-10-19T17:54:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0f182558484ec7964413fc93f6361f0842135b2b'/>
<id>urn:sha1:0f182558484ec7964413fc93f6361f0842135b2b</id>
<content type='text'>
This reverts commit 177a49e79c882603da64d45995f5fd60dce8c852
which caused more frequent failures of test_touch().</content>
</entry>
<entry>
<title>Reduced time.sleep() in cache touch() tests.</title>
<updated>2020-10-16T11:13:15Z</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2020-07-29T14:18:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=177a49e79c882603da64d45995f5fd60dce8c852'/>
<id>urn:sha1:177a49e79c882603da64d45995f5fd60dce8c852</id>
<content type='text'>
There are 8 cache backends to test and each test of touch() takes
~7s → ~56s. This seems excessive and it feels like we should be able
to reduce this significantly. time.sleep() accepts floating point
values and is guaranteed to sleep for at least the number of seconds
specified as of Python 3.5.

We do run the risk that there may be spurious test failures from this,
but that already seemed to be the case anyway.
</content>
</entry>
<entry>
<title>Fixed #29887 -- Added a cache backend for pymemcache.</title>
<updated>2020-09-16T07:40:30Z</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2019-01-18T23:26:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=b4d46df5cad6c936d83dd4f8038d0dc1121bc21e'/>
<id>urn:sha1:b4d46df5cad6c936d83dd4f8038d0dc1121bc21e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #29887, Refs #24212 -- Added more client servers tests for PyLibMCCache.</title>
<updated>2020-09-16T05:38:32Z</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2020-09-02T09:56:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=cda0a3d7773b44c28669dfa1a41cb6203c5c298e'/>
<id>urn:sha1:cda0a3d7773b44c28669dfa1a41cb6203c5c298e</id>
<content type='text'>
</content>
</entry>
</feed>
