- 12 Jun, 2017 1 commit
-
-
Andy Armstrong committed
-
- 31 May, 2017 1 commit
-
-
Jillian Vogel committed
-
- 30 May, 2017 1 commit
-
-
This reverts commit f97f0525, reversing changes made to 800bcd8e.
John Eskew committed
-
- 25 May, 2017 1 commit
-
-
John Eskew committed
-
- 13 Apr, 2017 4 commits
-
-
Add comment explaining why we can't have a separate transformer.
Diana Huang committed -
Robert Raposa committed
-
Diana Huang committed
-
Diana Huang committed
-
- 30 Mar, 2017 1 commit
-
-
TNL-6674
cahrens committed
-
- 28 Mar, 2017 1 commit
-
-
Nimisha Asthagiri committed
-
- 20 Mar, 2017 1 commit
-
-
TNL-6645
Nimisha Asthagiri committed
-
- 15 Mar, 2017 1 commit
-
-
TNL-5955
Nimisha Asthagiri committed
-
- 02 Mar, 2017 1 commit
-
-
TNL-6518
Nimisha Asthagiri committed
-
- 01 Mar, 2017 1 commit
-
-
Nimisha Asthagiri committed
-
- 23 Feb, 2017 1 commit
-
-
There are a number of Django Signals that are on the modulestore's SignalHandler class, such as SignalHandler.course_published. These signals can trigger very expensive processes to occur, such as course overview or block structures generation. Most of the time, the test author doesn't care about these side-effects. This commit does a few things: * Converts the signals on SignalHandler to be instances of a new SwitchedSignal class, that allows signal sending to be disabled. * Creates a SignalIsolationMixin helper similar in spirit to the CacheIsolationMixin, and adds it to the ModuleStoreIsolationMixin (and thus to ModuleStoreTestCase and SharedModuleStoreTestCase). * Converts our various tests to use this new mechanism. In some cases, this means adjusting query counts downwards because they no longer have to account for publishing listener actions. Modulestore generated signals are now muted by default during test runs. Calls to send() them will result in no-ops. You can choose to enable specific signals for a given subclass of ModuleStoreTestCase or SharedModuleStoreTestCase by specifying an ENABLED_SIGNALS class attribute, like the following example: from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase class MyPublishTestCase(ModuleStoreTestCase): ENABLED_SIGNALS = ['course_published', 'pre_publish'] You should take great care when disabling signals outside of a ModuleStoreTestCase or SharedModuleStoreTestCase, since they can leak out into other tests. Be sure to always clean up, and never disable signals outside of testing. Because signals are essentially process globals, it can have a lot of unpleasant side-effects if we start mucking around with them during live requests. Overall, this change has cut the total test execution time for edx-platform by a bit over a third, though we still spend a lot in pre-test setup during our test builds. [PERF-413]
David Ormsbee committed
-
- 13 Feb, 2017 1 commit
-
-
TNL-6522
Nimisha Asthagiri committed
-
- 03 Jan, 2017 1 commit
-
-
christopher lee committed
-
- 29 Dec, 2016 1 commit
-
-
Nimisha Asthagiri committed
-
- 03 Nov, 2016 1 commit
-
-
Matthew Piatetsky committed
-
- 01 Nov, 2016 1 commit
-
-
This reverts commit 7aacae9a.
Eric Fischer committed
-
- 31 Oct, 2016 1 commit
-
-
This reverts commit c6b6d0bc, reversing changes made to fa2b1ae4.
Matthew Piatetsky committed
-
- 27 Oct, 2016 1 commit
-
-
Matthew Piatetsky committed
-
- 24 Oct, 2016 1 commit
-
-
Nimisha Asthagiri committed
-
- 20 Oct, 2016 2 commits
-
-
TNL-5046
Nimisha Asthagiri committed -
Matthew Piatetsky committed
-
- 04 Oct, 2016 1 commit
-
-
This reverts commit 31812141.
J. Cliff Dyer committed
-
- 24 Sep, 2016 1 commit
-
-
TNL-5062
Nimisha Asthagiri committed
-
- 04 Aug, 2016 1 commit
-
-
Sanford Student committed
-
- 03 Aug, 2016 1 commit
-
-
Calen Pennington committed
-
- 27 Jul, 2016 1 commit
-
-
Nimisha Asthagiri committed
-
- 26 Jul, 2016 3 commits
-
-
Sanford Student committed
-
Sanford Student committed
-
Sanford Student committed
-
- 25 Jul, 2016 1 commit
-
-
wajeeha-khalid committed
-
- 22 Jul, 2016 1 commit
-
-
Sanford Student committed
-
- 21 Jul, 2016 1 commit
-
-
This reverts commit 4e65b1f1.
sanfordstudent committed
-
- 20 Jul, 2016 2 commits
-
-
Sanford Student committed
-
Nimisha Asthagiri committed
-
- 01 Jul, 2016 1 commit
-
-
This change improves grading performance by combining what had previously been multiple course tree traversals into a single traversal with combined filtering logic.
Nimisha Asthagiri committed
-
- 24 Jun, 2016 1 commit
-
-
Nimisha Asthagiri committed
-