Run the control plane and connect specified numbers of DPs onto it and assert it should not fail.
Compare the runnings between settings of GOMEMLIMIT.
# set the amount of memory limit onto the CP workload in MiB
export LIMIT_MEGA_MEMORY=256
# set the amount of CPU limit onto the CP workload in millicores
export LIMIT_MILLI_CPU=1000
# set the numbers of services
export PERF_TEST_NUM_SERVICES=5
# set the numbers of instances per service
export PERF_TEST_INSTANCES_PER_SERVICE=20
make run
Cases included:
should deploy all services and instances
should crash when deploy all services and instances with half CP resource
should not crash when control plane has GOMEMLIMIT set when all services and instances with half CP resource
A lot of metrics are periodically fetched and printed to output, so I'm trying to save it to a file, otherwise it'll be troublesome to open the view for the GHA runs.
GOMEMLIMIT
.Cases included:
GOMEMLIMIT
set when all services and instances with half CP resourceA lot of metrics are periodically fetched and printed to output, so I'm trying to save it to a file, otherwise it'll be troublesome to open the view for the GHA runs.