add doc for scalability test (#45)

Signed-off-by: suigh <suigh@cn.ibm.com>
This commit is contained in:
suigh
2021-11-01 21:51:08 +08:00
committed by GitHub
parent 7db4f6194a
commit 0f74167126
2 changed files with 24 additions and 0 deletions

View File

@@ -72,6 +72,15 @@ kind load docker-image quay.io/open-cluster-management/placement:latest --name {
make test-e2e
```
Run scalability testing if your PR has impact on the scalability
```shell
Deploy the placement controller with corresponding steps from [PLACEMENT Doc](https://github.com/open-cluster-management-io/placement#deploy-the-placement-controller)
make test-scalability
```
## Build images
Make sure your code build passed.

View File

@@ -0,0 +1,15 @@
# Scalability test
## Motivation
Add test cases for scalability, help developers to measure the impact of their fixes on scalability.
## Design Details
### Create a placement with many managedclusters
This test case is used to check whether a placement with many managedclusters can be created within expected time or not. One placement with many managedclusters will be created, and there will be enough candidate managedclusters to ensure there will be competing among these candidates.
### Create/update many placements with many managedclusters
This test case is used to check whether many placements, each with many managedclusters, can be created/updated within expected time or not. Placements with many managedclusters will be created first to check time cost for creating, and then the count of managedclusters will be updated to update the placements, this is used to check the time cost for updating.