Commit 377ece3e by Jay Zoldak

Merge pull request #2661 from edx/zoldak/disable-new-test

Disable course listing perf test
parents 0d28e2bf 3f4571dd
...@@ -4,6 +4,7 @@ by reversing group name formats. ...@@ -4,6 +4,7 @@ by reversing group name formats.
""" """
import random import random
from chrono import Timer from chrono import Timer
from unittest import skip
from django.contrib.auth.models import Group from django.contrib.auth.models import Group
from django.test import RequestFactory from django.test import RequestFactory
...@@ -144,6 +145,18 @@ class TestCourseListing(ModuleStoreTestCase): ...@@ -144,6 +145,18 @@ class TestCourseListing(ModuleStoreTestCase):
with self.assertRaises(ItemNotFoundError): with self.assertRaises(ItemNotFoundError):
courses_list_by_groups = _accessible_courses_list_from_groups(request) 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): def test_course_listing_performance(self):
""" """
Create large number of courses and give access of some of these courses to the user and 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