mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-22 00:54:00 +00:00
add doc for scalability test (#45)
Signed-off-by: suigh <suigh@cn.ibm.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
15
test/scalability/README.md
Normal file
15
test/scalability/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user