Add a few large sections to the demo data for testing purposes

Description

The demo data created when bringing up an instance with -Dsakai.demo=true is of great benefit for a multitude of purposes, but most important of all is testing and QA. This data set is used on the nightly servers, where all community testing is performed.

The current demo data creates multiple offerings for multiple terms, and multiple sections within each offering. However, each section is currently limited to 30 students. While this provides a satisfactory test bed for most things, performance and scalability issues are difficult to identify when using small data sets.

To better assist with the discovery and reporting of performance and scalability issues, it would be beneficial to have a few of the provided demo sections contain much more than 30 students.

The PR linked here proposes adding 1 new section to each offering, which will contain 1000 students. Each of these large sections will be the last in the available list (currently #7), and will be labelled "Discussion 7 (mega-roster)..." in the UI to be as clear as possible.

While this does introduce some extra wait time when bringing up a server with -Dsakai.demo=true the first time, I think it's reasonable to expect some delays in this situation. I'm of the opinion that the benefits far outweigh having to wait a little more the first time you bring up your server (or the first time after the DB has been wiped).

Activity

Show:
Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created April 7, 2020 at 3:11 PM
Updated April 8, 2020 at 8:34 AM
Resolved April 8, 2020 at 8:34 AM