Commit 349b9aa6 by Matthew Piatetsky

Temporarily remove updating index alias

ECOM-7572
parent 8ba4752e
......@@ -28,8 +28,9 @@ class Command(HaystackCommand):
super(Command, self).handle(*items, **options)
# Set the alias (from settings) to the timestamped catalog.
for backend, index, alias in alias_mappings:
self.set_alias(backend, alias, index)
# Temporarily commenting this out to test if update index command is still broken
# for backend, index, alias in alias_mappings:
# self.set_alias(backend, alias, index)
def set_alias(self, backend, alias, index):
"""
......
import pytest
from django.conf import settings
from django.core.management import call_command
from django.test import TestCase
......@@ -7,6 +8,7 @@ from freezegun import freeze_time
from course_discovery.apps.edx_haystack_extensions.tests.mixins import SearchIndexTestMixin
@pytest.mark.skip(reason="Temporarily disabling for testing update index command")
class UpdateIndexTests(SearchIndexTestMixin, TestCase):
@freeze_time('2016-06-21')
def test_handle(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment