Closed
Bug 875418
Opened 12 years ago
Closed 12 years ago
test infrastructure is probably not quite right for non-ES tests
Categories
(support.mozilla.org :: Code Quality, task, P3)
support.mozilla.org
Code Quality
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q3
People
(Reporter: willkg, Assigned: mythmon)
References
Details
(Whiteboard: u=dev c=codequality p=2 s=2013.16)
Tests that use ESTestCase are probably fine. The ESTestCase sets things up correctly so that the test uses ES, runs against the correct ES server and all the things work right.
However, tests that don't use ESTestCase end up with the wrong READ_INDEX and WRITE_INDEX values. Further, it's not clear that setting ES_LIVE_INDEXING to False actually shuts ES functionality off.
Therefore it's possible tests that aren't using ESTestCase could be suffering a performance hit if they execute code that expects ES to be there and more importantly, they may be doing things we don't want them doing.
This bug covers looking into that and doing whatever is needed to alleviate the problem. That might include mocking something in the ES-related layers, fixing the settings values or related things.
(If this sounds hand-wavey, kick Will.)
| Reporter | ||
Comment 1•12 years ago
|
||
Tossing this in the backlog.
Whiteboard: u=dev c=codequality p= s=2013.backlog
Comment 2•12 years ago
|
||
Putting into the next sprint. Willkg suspects this is a 2pt bug.
Priority: -- → P3
Whiteboard: u=dev c=codequality p= s=2013.backlog → u=dev c=codequality p=2 s=2013.16
Target Milestone: --- → 2013Q3
| Assignee | ||
Comment 3•12 years ago
|
||
I'll see if I can figure something out here.
Assignee: nobody → mcooper
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•12 years ago
|
||
| Assignee | ||
Comment 5•12 years ago
|
||
Landed in 6a332fb189ec452f823da9586232e192c2296688. This is a problem with the tests, not the site, so this is done.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•