Merge pull request #2661 from edx/zoldak/disable-new-test
Disable course listing perf test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user