Use bulk_operations when loading items
This has been causing a huge memory leak, wrapping the call in this context manager properly cleans up the 'records' entries. EDUCATOR-274
This commit is contained in:
@@ -318,7 +318,7 @@ class TestCourseListing(ModuleStoreTestCase, XssTestMixin):
|
||||
)
|
||||
|
||||
@ddt.data(
|
||||
(ModuleStoreEnum.Type.split, 3, 13),
|
||||
(ModuleStoreEnum.Type.split, 4, 23),
|
||||
(ModuleStoreEnum.Type.mongo, USER_COURSES_COUNT, 2)
|
||||
)
|
||||
@ddt.unpack
|
||||
|
||||
Reference in New Issue
Block a user