[Python-modules-commits] [cherrypy3] 05/08: disable test_antistampede
Carl Suster
arcresu-guest at moszumanska.debian.org
Fri Jan 6 08:52:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
arcresu-guest pushed a commit to branch master
in repository cherrypy3.
commit 80acc3353981e75c784c5b017da6b35355d33643
Author: Carl Suster <carl at contraflo.ws>
Date: Fri Jan 6 19:44:00 2017 +1100
disable test_antistampede
This test spawns many threads that all make a request to an endpoint in
the web server which does nothing but sleep and return a string. The
idea is that if caching works this is very fast, so the test assertion
is that the test was completed quickly.
If the test fails it could run for quite a while, and there is a known
problem upstream which makes this test unreliable which is why it is
marked as allowed to fail for pytest. To speed things up, we disable it
completely until it works more reliably.
---
cherrypy/test/test_caching.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cherrypy/test/test_caching.py b/cherrypy/test/test_caching.py
index fa2b8cb..1e95341 100644
--- a/cherrypy/test/test_caching.py
+++ b/cherrypy/test/test_caching.py
@@ -292,7 +292,7 @@ class CacheTest(helper.CPWebCase):
self.assertHeader('Age')
@pytest.mark.xfail(reason='#1536')
- def test_antistampede(self):
+ def disabled_test_antistampede(self):
SECONDS = 4
slow_url = '/long_process?seconds={SECONDS}'.format(**locals())
# We MUST make an initial synchronous request in order to create the
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cherrypy3.git
More information about the Python-modules-commits
mailing list