This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Split ES test indexes when running the tests

  • Loading branch information...
robhudson committed Apr 9, 2013
1 parent 5bd0262 commit 53d63d6e42409bd46e4d6da0ecbf2c3bcab4feb9
Showing with 2 additions and 1 deletion.
  1. +2 −1 apps/amo/tests/__init__.py
@@ -657,7 +657,8 @@ def setUpClass(cls):
# because we may have indexation occuring in upper classes.
for key, index in settings.ES_INDEXES.items():
if not index.startswith('test_'):
- settings.ES_INDEXES[key] = 'test_%s' % index
+ settings.ES_INDEXES[key] = 'test_%s_%s' % (
+ 'mkt' if settings.MARKETPLACE else 'amo', index)
super(ESTestCase, cls).setUpClass()
try:

0 comments on commit 53d63d6

Please sign in to comment.