Commit Graph

37032 Commits

Author SHA1 Message Date
Calen Pennington
2aa9967189 Merge pull request #12386 from cpennington/cale/concurrent-unit-tests
[EV-12] Run LMS unit tests concurrently on jenkins
2016-05-19 14:25:24 -04:00
Calen Pennington
927b74e745 Make separate test processes use separate GRADES_DOWNLOAD and FINANCIAL_REPORTS directories 2016-05-19 12:45:28 -04:00
Calen Pennington
76e0482fb8 Fix a flaky test caused by caching of UserPartition schemes 2016-05-19 11:58:52 -04:00
Ned Batchelder
558281a09d Merge pull request #12516 from edx/ned/update-translations
Update translations (autogenerated message)
2016-05-19 11:51:25 -04:00
Ned Batchelder
9351b302b5 Merge pull request #12492 from edx/ned/fix-csv-headers
Ensure correct CSV headers for non-English
2016-05-19 11:26:38 -04:00
Ned Batchelder
6c60f73124 Update translations (autogenerated message) 2016-05-19 15:01:26 +00:00
Ned Batchelder
6142c76ce8 Merge pull request #12471 from edx/ned/release-translations
Support named-release translation files.
2016-05-19 10:41:06 -04:00
Diana Huang
49e66863fe Merge pull request #12512 from edx/diana/enable-verify-xss
turn on bok choy XSS checking
2016-05-19 10:25:21 -04:00
Calen Pennington
0ade461f2a Skip course_wiki test which is flaky under randomization
The test TestComprehensiveTheming.test_themed_footer in lms/djangoapps/course_wiki/tests/test_comprehensive_theming.py
fails when run immediately after lms.djangoapps.course_wiki.tests.test_middleware:TestWikiAccessMiddleware.test_url_tranform.

Until we have a chance to fix it, we're going to skip it to expedite merging
concurrent testing.

To reproduce the failure, remove the @skip decorator, and run:

paver test_system -s lms --disable-migrations --test_id='lms.djangoapps.course_wiki.tests.test_middleware lms.djangoapps.course_wiki.tests.test_comprehensive_theming' --no-randomize -v --processes=0
2016-05-19 10:20:20 -04:00
Calen Pennington
084f139113 Remove a redundant setUpClass method that only called super 2016-05-19 10:20:20 -04:00
Douglas Hall
d95ad32532 Merge pull request #12510 from edx/douglashall/WL-450/fixed_timeout_issue
WL-450 Fix for issue with canceling changes to image upload fields
2016-05-19 09:24:14 -04:00
Awais Jibran
4f46716e42 Merge pull request #12441 from edx/aj/ecom4202-disable-gen-cert-exception-btn
Disable `Generate Exception Certificate button
2016-05-19 13:41:13 +05:00
Ned Batchelder
7aa1c1c21d Add tests for the new commands 2016-05-18 18:55:16 -04:00
Christina Roberts
95ffe7cdf3 Merge pull request #12513 from edx/christina/mark-flaky-tests
Christina/mark flaky tests
2016-05-18 17:19:03 -04:00
Brian Jacobel
3faaead6b1 Merge pull request #12503 from edx/bjacobel/FEDX-194-more-math-input-issues
Fix another kind of math problem which was overflowing
2016-05-18 17:18:11 -04:00
Diana Huang
1162dbc18f Enable VERIFY_XSS checking by default. 2016-05-18 16:27:15 -04:00
Robert Raposa
94adf7fb74 Merge pull request #12490 from edx/robrap/linter-mako
TNL-4566: Lint Mako templates outside of expressions
2016-05-18 16:17:10 -04:00
Robert Raposa
9e81c4ccce Merge pull request #12511 from edx/andya/exclude-deletions-from-safe-commit-linting
Exclude deleted files from safe template linting
2016-05-18 16:16:25 -04:00
Douglas Hall
6eb2e18469 Merge pull request #12483 from edx/douglashall/SOL-1776/add_studio_acceptance_tests
SOL-1776 Added Studio settings image upload acceptance tests
2016-05-18 15:28:55 -04:00
Calen Pennington
8b3ef8725c In order to minimize contention for the mongodb global lock, use one database per process in tests 2016-05-18 14:39:00 -04:00
Calen Pennington
299b2659c6 Allow tests to run in verbose mode and multiprocess mode (by turning off TestId mode as needed) 2016-05-18 14:39:00 -04:00
Calen Pennington
e60114c716 Add paver arguments to control concurrency and randomization 2016-05-18 14:39:00 -04:00
Adam
55bfb74c6d Merge pull request #12481 from edx/fix-memory-leak
clear request cache after celery task finishes (TNL-2705)
2016-05-18 14:31:22 -04:00
cahrens
a80773f8dc Mark test as flaky.
SOL-1811
2016-05-18 14:24:20 -04:00
Robert Raposa
cf3ef8aae3 Enhance safe template linter.
- Lint directories and files in sorted order.
- Lint python blocks in Mako.
2016-05-18 14:23:57 -04:00
Robert Raposa
7ecbed43e7 Make _thread_list_template.html safe. 2016-05-18 14:23:56 -04:00
cahrens
2c7cdbffc1 Mark test as flaky.
TNL-4590
2016-05-18 14:17:53 -04:00
Calen Pennington
a45f1f032c Set OAUTH2_PROVIDER_APPLICATION_MODEL for tests so that migrations can run in verbose mode 2016-05-18 14:10:30 -04:00
Calen Pennington
226da7d364 Make LMS tests run concurrently 2016-05-18 14:10:29 -04:00
Calen Pennington
5249504edc Use xunitmp by default, rather than standard xunit 2016-05-18 14:10:29 -04:00
Calen Pennington
6ebda5ea1f Set standard nose-multiprocessing options 2016-05-18 14:10:29 -04:00
Calen Pennington
9c6e404bd1 Disable rednose, which is incompatible with multiprocessing 2016-05-18 14:10:29 -04:00
Calen Pennington
ad54c05407 Add plugin for test-order randomization 2016-05-18 14:10:29 -04:00
Calen Pennington
4a3f8358de Make static_template_view.tests an actual module 2016-05-18 14:10:28 -04:00
Calen Pennington
e731a118a6 Make external_auth.test_openid_provider tests run independently 2016-05-18 14:10:28 -04:00
Calen Pennington
a07f53e020 Run middleware on a RequestFactory generated request in tests 2016-05-18 14:10:28 -04:00
Calen Pennington
09dc884c38 Isolate databases between test processes 2016-05-18 14:10:28 -04:00
Christina Roberts
9f1971ce83 Merge pull request #12501 from edx/christina/tnl-1619-xss
Christina/tnl 1619 xss
2016-05-18 14:02:19 -04:00
Douglas Hall
e2c65c57f1 Added Studio settings image upload acceptance tests 2016-05-18 13:33:25 -04:00
cahrens
fd1d72cc8d Wait for seek to complete before pressing play.
TNL-4540
2016-05-18 13:13:20 -04:00
Adam Palay
04dd61bead remove logging 2016-05-18 12:56:35 -04:00
Andy Armstrong
a7e754dd9a Exclude deleted files from safe template linting 2016-05-18 12:52:21 -04:00
Douglas Hall
bb55917f03 WL-450 Fix for issue with canceling changes to image upload fields 2016-05-18 12:29:18 -04:00
Peter Fogg
06fa08394d Merge pull request #12491 from edx/peter-fogg/catalog-api-jwt-key
Use the correct JWT key when authenticating against the course catalog API.
2016-05-18 12:17:44 -04:00
Christina Roberts
16e9f9c6c7 Merge pull request #12500 from edx/christina/tnl-1619
Can no longer play outside of the start/end time for the clip.
2016-05-18 11:55:23 -04:00
Ned Batchelder
17b16b115d Ensure correct CSV headers for non-English
If we pass non-ASCII strings to create_csv_response, it will call
unicode() on it, and fail with UnicodeDecodeError.  So pass Unicode
strings, or ASCII-only bytestrings for the headers.
2016-05-18 11:10:32 -04:00
Adam Palay
a7d638de9e clear request cache after celery task finishes (TNL-2705)
set max_num_courses_in_cache on modulestore
2016-05-18 10:43:54 -04:00
Syed Hasan raza
3e747c379f Merge pull request #12443 from edx/shr/log/PLAT-1023-PLAT-1031-Detail-Logging
Detail Logging xmodule exceptions
2016-05-18 13:59:54 +05:00
attiyaIshaque
2c5319e468 Merge pull request #12190 from edx/aj/sust-24-globalstaff-course-access
Aj/sust 24 globalstaff course access
2016-05-18 12:44:49 +05:00
attiyaishaque
48e7fc8125 Bokchoy Test Deleted. 2016-05-18 11:40:59 +05:00