Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
377ece3e
Commit
377ece3e
authored
Feb 20, 2014
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2661 from edx/zoldak/disable-new-test
Disable course listing perf test
parents
0d28e2bf
3f4571dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
cms/djangoapps/contentstore/tests/test_course_listing.py
+13
-0
No files found.
cms/djangoapps/contentstore/tests/test_course_listing.py
View file @
377ece3e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment