Commit graph

237 commits

Author SHA1 Message Date
Bertrand Bordage
c48cbafebc Updates django-redis configuration. 2014-12-13 19:56:34 +01:00
Bertrand Bordage
a4805f1e47 Fixes the set_many. 2014-12-13 19:13:22 +01:00
Bertrand Bordage
603e018073 Uses set_many instead of multiple adds. 2014-12-13 19:05:12 +01:00
Bertrand Bordage
1f8167a53a Properly closes the database connection before ending a thread. 2014-12-12 16:01:56 +01:00
Bertrand Bordage
43ad61aaf5 Simplifies ThreadSafetyTestCase. 2014-12-12 15:16:23 +01:00
Bertrand Bordage
873a204ddb [Travis CI] Tries to cache pip downloads. 2014-12-09 06:12:11 +01:00
Bertrand Bordage
fb12b1f39c Increases test verbosity to find which one(s) are failing. 2014-12-09 03:34:57 +01:00
Bertrand Bordage
9de9212986 Uses Lock instead of Event for thread-safety tests. 2014-12-09 03:17:59 +01:00
Bertrand Bordage
c1f68ff557 Small fixes in the debug toolbar panel. 2014-12-09 03:17:59 +01:00
Bertrand Bordage
819cc14d0e Merge pull request #4 from joshk/patch-1
Use the new build env on Travis.
2014-12-09 01:47:48 +01:00
Bertrand Bordage
a358fc18a9 Removes a cache.clear() accidentally introduced. 2014-12-09 01:35:42 +01:00
Josh Kalderimis
0dfded4140 Use the new build env on Travis
dedicated cpus, more ram, better boot times, improved networking
2014-12-09 00:05:49 +01:00
Bertrand Bordage
cc6e836b13 Fixes MANIFEST.in. 2014-12-08 22:09:27 +01:00
Bertrand Bordage
94eb37d80c Includes the panel template in MANIFEST.in. 2014-12-08 22:05:20 +01:00
Bertrand Bordage
bd10637f46 Adds a django-debug-toolbar panel. 2014-12-08 22:00:08 +01:00
Bertrand Bordage
d84783b0f1 Simplifies cachalot_settings and forbids its modification. 2014-12-08 19:43:43 +01:00
Bertrand Bordage
4770df8798 Fixes overridden settings not working when they are already defined in Django settings. 2014-12-08 19:06:09 +01:00
Bertrand Bordage
ee7f9c1cf2 Fixes an error in settings. 2014-12-08 05:00:52 +01:00
Bertrand Bordage
39791bd5cb Only add pylibmc to tests if Python = 2. 2014-12-08 04:13:11 +01:00
Bertrand Bordage
47bb01c7b3 Adds pylibmc support. 2014-12-08 03:47:11 +01:00
Bertrand Bordage
13ea4b0bde Removes file-based cache support for Django 1.6. 2014-12-08 03:16:31 +01:00
Bertrand Bordage
b1804a11ee Adds file-based caching support. 2014-12-08 01:01:58 +01:00
Bertrand Bordage
fccb6aa626 [Travis CI] Fixes the build. 2014-12-08 00:35:26 +01:00
Bertrand Bordage
e40152fdda Caches pip downloads. 2014-12-07 23:44:22 +01:00
Bertrand Bordage
a4f26ec8a9 [Travis] Groups environments for a faster build time. 2014-12-07 23:41:45 +01:00
Bertrand Bordage
859337072e Unnests some code & handles unexpected None found in cache with memcached. 2014-12-07 07:04:26 +01:00
Bertrand Bordage
47b0044e6d Detail. 2014-12-07 07:03:16 +01:00
Bertrand Bordage
92e5ed445c Uses a Python 2-3 compatible pickle version for django_redis in tests. 2014-12-07 06:37:24 +01:00
Bertrand Bordage
c401933636 Updates django_redis package name. 2014-12-07 06:32:19 +01:00
Bertrand Bordage
fa523b95bb Restores a test commented because it was unexpectedly breaking the suite. 2014-12-07 05:21:24 +01:00
Bertrand Bordage
d591fb60bb Fixes the "random number of queries" issue sometimes occuring with locmem. 2014-12-07 04:54:10 +01:00
Bertrand Bordage
78332a7ef0 Fixes Django 1.7 tests. 2014-12-07 04:16:07 +01:00
Bertrand Bordage
780c6cbdc0 Simplifies settings setup. 2014-12-07 03:43:16 +01:00
Bertrand Bordage
5e5ba9321d Removes an invalid test.
`cursor.executemany` should never accept SELECTs. In practice, MySQL accepts it but returns erroneous data.
But SQLite and PostgreSQL are raising an exception, as expected.
2014-12-07 03:40:27 +01:00
Bertrand Bordage
984b3f2530 Invalidates executemany. 2014-12-07 02:44:50 +01:00
Bertrand Bordage
3293c2c644 Adds tests for cursor.executemany. 2014-12-07 02:38:10 +01:00
Bertrand Bordage
abee1be5fb Typos in some docstrings. 2014-12-07 01:55:52 +01:00
Bertrand Bordage
98a3db4a3b Revert "Factorizes some Travis CI tests to avoid rebuilding envs all the time."
This reverts commit 40f455c641.
2014-11-29 03:44:05 +01:00
Bertrand Bordage
40f455c641 Factorizes some Travis CI tests to avoid rebuilding envs all the time. 2014-11-29 03:18:57 +01:00
Bertrand Bordage
323a1b128b Fixes tox build with python 2.6. 2014-11-29 02:25:35 +01:00
Bertrand Bordage
24f7653f7d Splits Travis builds into jobs to lighten the servers. 2014-11-29 01:44:47 +01:00
Bertrand Bordage
2a5a494ddc Fixes tox. 2014-11-28 23:06:09 +01:00
Bertrand Bordage
654114b233 Adds some TODOs. 2014-11-28 23:05:34 +01:00
Bertrand Bordage
39e697ffbe Adds tox to .gitignore. 2014-11-28 22:59:12 +01:00
Bertrand Bordage
1f08dada56 Adds a tox file and uses it in Travis CI. 2014-11-28 22:12:03 +01:00
Bertrand Bordage
bd8facfff7 [Travis CI] Comments a subtest to see if it’s the one freezing the test suite. 2014-11-25 03:13:43 +01:00
Bertrand Bordage
15ac7a8aa0 Fixes thread-safety tests using Event. 2014-11-25 02:51:11 +01:00
Bertrand Bordage
22ace2e2cb Updates transaction handling to work with the latest invalidation system. 2014-11-24 19:11:37 +01:00
Bertrand Bordage
c09d95e301 Replaces del dict[k] by dict.pop(k). 2014-11-24 18:41:35 +01:00
Bertrand Bordage
04f7c76ab8 Updates a test. 2014-11-24 12:33:55 +01:00