Closed
Bug 681871
Opened 14 years ago
Closed 13 years ago
Running dashboard tests alone triggers failures
Categories
(support.mozilla.org :: Code Quality, task)
support.mozilla.org
Code Quality
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 753042
People
(Reporter: erik, Unassigned)
Details
% t dashboards
...
ERROR: kitsune.apps.dashboards.tests.test_cron:TopUnhelpfulArticlesTests.test_current_articles
bbedit +92 apps/dashboards/tests/test_cron.py
File "/Users/erose/Checkouts/kitsune/vendor/src/django/django/utils/unittest/case.py", line 339, in run
testMethod()
File "/Users/erose/Checkouts/kitsune/../kitsune/apps/dashboards/tests/test_cron.py", line 92, in test_current_articles
self.assertAlmostEqual(0.4, result[r.id]['currperc'])
KeyError: 15L
ERROR: kitsune.apps.dashboards.tests.test_cron:TopUnhelpfulArticlesTests.test_current_articles_not_in_old
bbedit +131 apps/dashboards/tests/test_cron.py
File "/Users/erose/Checkouts/kitsune/vendor/src/django/django/utils/unittest/case.py", line 339, in run
testMethod()
File "/Users/erose/Checkouts/kitsune/../kitsune/apps/dashboards/tests/test_cron.py", line 131, in test_current_articles_not_in_old
self.assertAlmostEqual(0.4, result[r.id]['currperc'])
KeyError: 17L
ERROR: kitsune.apps.dashboards.tests.test_cron:TopUnhelpfulArticlesTests.test_old_articles
bbedit +57 apps/dashboards/tests/test_cron.py
File "/Users/erose/Checkouts/kitsune/vendor/src/django/django/utils/unittest/case.py", line 339, in run
testMethod()
File "/Users/erose/Checkouts/kitsune/../kitsune/apps/dashboards/tests/test_cron.py", line 57, in test_old_articles
self.assertAlmostEqual(0.2, result[r.id]['percentage'])
KeyError: 18L
Comment 1•14 years ago
|
||
Blegh I hate those redis tests... could it be possible that redis wasn't on and the skiptest didn't go off?
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: 2011Q3 → ---
Comment 2•13 years ago
|
||
I'm closing this in favor of bug #753042 since that's more holistic and covers more.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•