Organization workspaces limits test plan - eclipse-che/che GitHub Wiki
The goal of creating this test plan is testing organizations workspaces limits
Planed to do
Test next workspaces limits for members in organizations:
- Workspace Cap - maximum number of workspaces for the organization.
- Running Workspace Cap - maximum number of running workspaces for each organization
- Workspace RAM Cap - maximum RAM organization workspaces can use.
Preconditions:
- Login in CHE as admin
- Create an organization
- Open the Settings tab on organization details page
- Set next values for limit caps:
- Workspace Cap: 2
- Running Workspace Cap: 1
- Workspace RAM Cap: 2
- Add a member to the created organization
- Logout admin and login as member
Testing process
Workspace Cap:
- Create two workspaces from the Java stack with 2GB RAM each
- Try to create the third workspace and wait
You are not allowed to create more workspaces.
error notification.
Running Workspace Cap:
- Start one of the created workspace and wait that the workspace started successfully
- Try to start other workspace and check
You are not allowed to start more workspaces.
error notification - Stop started workspace
Workspace RAM Cap:
- Open workspace details page of any workspace and change RAM value in the Machines tab to 3GB
- Try to start this workspace and check
Workspace (org/name) needs 3072MB to start. Your account has 2048MB available and 0MB in use. The workspace can't be start. Stop other workspaces or grant more resources.
error notification.