Commit 3f4571dd by Jay Zoldak

Disable course listing perf test

parent 0d28e2bf
......@@ -4,6 +4,7 @@ by reversing group name formats.
"""
import random
from chrono import Timer
from unittest import skip
from django.contrib.auth.models import Group
from django.test import RequestFactory
......@@ -144,6 +145,18 @@ class TestCourseListing(ModuleStoreTestCase):
with self.assertRaises(ItemNotFoundError):
courses_list_by_groups = _accessible_courses_list_from_groups(request)
# Temporarily disabling this test because it caused the following failure intermittently in Jenkins.
# Perhaps due to a test ordering or cleanup issue?
#
# 1) FAIL: test_course_listing_performance (contentstore.tests.test_course_listing.TestCourseListing)
#
# Traceback (most recent call last):
# cms/djangoapps/contentstore/tests/test_course_listing.py line 176 in test_course_listing_performance
# self.assertEqual(len(courses_list), USER_COURSES_COUNT)
# AssertionError: 49 != 50
#
@skip
def test_course_listing_performance(self):
"""
Create large number of courses and give access of some of these courses to the user and
......
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