Commit Graph

183 Commits

Author SHA1 Message Date
bmedx
57459d1e0f Remove debug change 2017-03-02 15:58:30 -05:00
bmedx
6ca739d811 Send emails on completed django-user-tasks
- Creates a new app under cms
- Sends emails asynchronously on completion of any top-level job
- Moves old user task related cms tests to cms_user_tasks
2017-03-01 17:07:42 -05:00
Michael Youngstrom
067348b858 Allow Pa11ycrawler to run against a single url
Utilize scrapy parse

specify custom callback and add port

Getting rid of scrapy parse. A modified crawl will work

remove log

Remove unnecessary input options

Remove extra empty line

version bump v1.5.9

Reduce duplicate code

add in port and simplify further

clean command further

add port to basic command

Bump Pa11yversion to the newest version
2017-02-21 15:53:53 +00:00
Ben Patterson
c0dd2b878f Lettuce-on-Xenial CMS fix. Iterate through a list to avoid quotation string confusion.
Also change some selenium settings (they were not necessary at this time).
2017-02-20 17:22:36 -05:00
Ben Patterson
e7b0c28d57 Fixes for chrome reliability in selenium.
Fix for rendering timing issue. See https://bugs.chromium.org/p/chromedriver/issues/detail?id=1552
2017-02-20 17:22:02 -05:00
Ben Patterson
840efb238c Workaround for intermittent chromedriver hangs upon start. 2017-02-20 17:21:41 -05:00
Renzo Lucioni
e7771148b7 Load all programs from the catalog
This commit contains back end changes necessary to load programs from the catalog in all contexts. The existing program munging utility is applied as late as possible to avoid conflating this work with changes to the front end; those will be made separately.

ECOM-4422
2017-02-06 23:16:29 -05:00
Ari Rizzitano
c8cc7cc14b [pa11ycrawler] update location of pa11ycrawler ignore rules file (AC-701)
[pa11ycrawler] update location of pa11ycrawler ignore rules file (AC-701)

patch test

temporarily force a pa11ycrawler PR run

remove temp run of pa11ycrawler
2017-01-24 15:23:11 -05:00
Jesse Zoldak
5c1f838dcb Give the bok choy server more time to start up 2016-12-22 16:20:22 -05:00
Calen Pennington
f5f64c03fc Don't try to create a directory from an empty string 2016-11-15 11:38:33 -05:00
stu
48b2575ca5 log pip freeze output for debugging jenkins builds 2016-11-01 11:21:46 -04:00
Jesse Zoldak
4465373177 Disable migrations by default in unittests
Rendering model states when running migrate in Django 1.8 consumes
on the order of 4x-6x more memory than <1.8.

References:
* https://code.djangoproject.com/ticket/24745
* https://code.djangoproject.com/ticket/24743

This is causing failures in Jenkins as the workers run out of memory
and either processes cannot fork or the Out Of Memory Killer
kills a process that is running tests.

Disabling migrations until we do either or both of these:
* Upgrade to Django 1.9 and turn them back on. See EV-92 "Discovery: Upgrade edx-platform to Django 1.9"
* Address TE-1310 "Unit tests should be able to run without migrations"
2016-10-12 14:02:19 -04:00
David
32e7836bd9 Add pa11y_ignore_rules_url to paver pa11ycrawler 2016-09-07 14:46:30 -04:00
Calen Pennington
fae18fd5e2 Merge pull request #13271 from cpennington/dont-translate-passthrough
Don't use optparse's bad translation strings in passthrough_opts
2016-08-23 13:23:21 -04:00
Jesse Zoldak
99a7c555ab test_acceptance paver command option fasttest should not recompile sass 2016-08-19 13:21:16 -04:00
Calen Pennington
abe6ef4525 Don't use optparse's bad translation strings in passthrough_opts 2016-08-18 10:59:45 -04:00
David Baumgold
7f60fa5e25 Make data-dir explicit for pa11ycrawler 2016-08-15 15:46:10 -04:00
David Baumgold
18500472c6 Use updated, simplifed version of pa11ycrawler 2016-08-15 14:24:17 -04:00
Calen Pennington
7a51a3052b Use @needs to specify task composition for paver service checks, so that arguments are bundled correctly 2016-08-03 16:13:11 -04:00
Calen Pennington
f3cc7bd588 Mark some side-effecting actions so that they follow the --dry-run paver flag 2016-08-03 16:13:10 -04:00
Calen Pennington
d8defaa45a Clarify how options are passed to paver tasks, so that pa11y subtasks get needed information 2016-08-03 16:13:10 -04:00
Calen Pennington
ea28eb6197 Revert "Revert "Merge pull request #13021 from cpennington/paver-timing""
This reverts commit acf50c4469.
2016-08-03 16:13:10 -04:00
Ben Patterson
066450d274 FEDX-152. Pipe collectstatic results to a file for bok-choy tests. 2016-07-29 08:11:13 -04:00
Calen Pennington
acf50c4469 Revert "Merge pull request #13021 from cpennington/paver-timing"
This reverts commit ed80381b41, reversing
changes made to 205cb8b3eb.
2016-07-26 13:32:59 -04:00
Calen Pennington
ed80381b41 Merge pull request #13021 from cpennington/paver-timing
[EV-62] Paver timing
2016-07-26 09:50:40 -04:00
Calen Pennington
5f05c66d31 Get rid of the extra parse_bokchoy_opts step for passing arguments to a BokChoySuite 2016-07-22 10:57:09 -04:00
Calen Pennington
8c3d4ce85c Split actions needed for bok_choy tests into smaller tasks to get more granular timing information 2016-07-22 10:57:08 -04:00
Calen Pennington
fa52573277 Move the definition of shared bok_choy task options into a separate file 2016-07-22 10:54:48 -04:00
Calen Pennington
f94530ba12 [EV-62] Add the ability to log timing information during paver tasks 2016-07-22 10:54:48 -04:00
Renzo Lucioni
a43c507a00 Use course run marketing URLs from the catalog service on program detail page
Part of ECOM-4566.
2016-07-15 16:12:10 -04:00
Calen Pennington
c3434d144d Remove another instance of self.pdb 2016-06-29 09:56:26 -04:00
Calen Pennington
0e90567f37 Remove the --pdb option, because it was just a passthrough to nose 2016-06-28 13:33:33 -04:00
Calen Pennington
2690c044c6 Only generate xunit files during CI builds, so that pudb works during development 2016-06-28 10:46:53 -04:00
Calen Pennington
6b61bc44d9 Covert all paver command manipulation to happen on lists of args/options, rather than strings 2016-06-28 10:46:35 -04:00
Calen Pennington
ef89c75b19 Deprecate paver arguments with '_' in them in favor of versions with '-' 2016-06-27 15:21:28 -04:00
Calen Pennington
206cedf55e Deprecate extra_args in favor of just passing through all unknown options 2016-06-27 15:19:50 -04:00
Calen Pennington
c279eb1c03 Add a new Task subclass that will pass through unknown options as the unknown_options argument 2016-06-27 15:06:53 -04:00
Calen Pennington
c2fc945892 Convert verbosity number into an integer 2016-06-20 08:30:23 -04:00
Calen Pennington
08fd3ac57c Enable multiprocess tests on LMS tests in jenkins 2016-06-20 08:30:22 -04:00
Jesse Zoldak
56e6f04cc7 Merge pull request #12736 from edx/zoldak/fix-docstring
Fix a docstring to reflect what the method actually does
2016-06-14 12:49:04 -04:00
Ben Patterson
6ccf7cf6fb Disable parallelization for lms unit tests. 2016-06-13 15:05:51 -04:00
Jesse Zoldak
864130c6e4 Fix a docstring to reflect what the method actually does 2016-06-13 14:42:15 -04:00
Calen Pennington
98bf9f9dea Enable concurrency (but not randomization) in LMS unit tests 2016-06-09 13:14:36 -04:00
Calen Pennington
2afc9e8c16 Don't use the --processes argument at all of processes=0 2016-06-09 12:04:18 -04:00
Calen Pennington
7ca92f255a Enable randomization (but not concurrency) in LMS unit tests 2016-06-09 12:04:18 -04:00
Waheed Ahmed
b2f21ef4f3 Complete Order History tab for students on account settings page.
ECOM-2361
2016-06-08 21:45:07 +05:00
Calen Pennington
548985803b Disable concurrency in tests while we work out the kinks 2016-05-19 16:56:24 -04:00
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
Diana Huang
1162dbc18f Enable VERIFY_XSS checking by default. 2016-05-18 16:27:15 -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