File tree Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 3939 make cleanup
4040 env :
4141 OPTS : " ESTIMATOR"
42+ - name : test deploying kepler with only server
43+ run : |
44+ make deploy
45+ make e2e-test
46+ make cleanup
47+ env :
48+ OPTS : " SERVER"
49+ - name : test deploying kepler with estimator and model server
50+ run : |
51+ make deploy
52+ make e2e-test
53+ make cleanup
54+ env :
55+ OPTS : " ESTIMATOR SERVER"
4256 - name : test deploying dummy kepler with only estimator
4357 run : |
4458 make deploy
Original file line number Diff line number Diff line change @@ -260,13 +260,13 @@ Optional arguments:
260260scenario| test cases| deploy options| status
261261| ---| ---| ---| ---|
262262Kepler with estimator only| Latest Kepler image is connected to estimator| ESTIMATOR| & # x2714;
263- || Latest Kepler image can power from estimator || WIP
263+ || Estimator can load model from config | ESTIMATOR | & # x2714;
264264|| Dummy power request can be made to estimator| ESTIMATOR TEST| & # x2714;
265- Kepler with model server only| Latest Kepler image can request weight model from model server| SERVER| WIP
265+ Kepler with model server only| Latest Kepler image can request weight model from model server| SERVER| & # x2714;
266266|| Dummy weight model request can be made to model server| SERVER TEST| & # x2714;
267- Kepler with estimator and model server| Dummy power request can be made to estimator | ESTIMATOR SERVER TEST | & # x2714;
268- || Estimator can load model from model server | |& # x2714;
269- || Model server can load initial model | |& # x2714;
267+ Kepler with estimator and model server| Estimator can load model from model server | ESTIMATOR SERVER| & # x2714;
268+ || Model server can load initial model| ESTIMATOR SERVER | & # x2714;
269+ || Dummy power request can be made to estimator | ESTIMATOR SERVER TEST | & # x2714;
270270Kepler with model server and online trainer| Kepler can provide metric to online trainer to train| ONLINE| WIP
271271|| Dummy prometheus server can provide metric to online trainer to train| ONLINE TEST| WIP
272272|| Trained model is updated to pipeline and availble on model server|| WIP
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ test() {
9797 if [ ! -z ${ESTIMATOR} ]; then
9898 # with estimator
9999 if [ ! -z ${TEST} ]; then
100+ # dummy kepler
100101 kubectl patch ds kepler-exporter -n kepler --patch-file ${top_dir} /manifests/test/power-request-client.yaml
101102 if [ ! -z ${SERVER} ]; then
102103 restart_model_server
@@ -109,18 +110,26 @@ test() {
109110 fi
110111
111112 if [ ! -z ${SERVER} ]; then
113+ # with server
112114 wait_for_server
113115 wait_for_keyword estimator " load model from model server" " estimator should be able to load model from server"
116+ else
117+ # no server
118+ wait_for_keyword estimator " load model from config" " estimator should be able to load model from config"
114119 fi
115120 else
116121 # no estimator
117122 if [ ! -z ${SERVER} ]; then
123+ # with server
118124 if [ ! -z ${TEST} ]; then
125+ # dummy kepler
119126 kubectl patch ds kepler-exporter -n kepler --patch-file ${top_dir} /manifests/test/model-request-client.yaml
120127 restart_model_server
121128 sleep 1
122129 wait_for_kepler
123130 wait_for_keyword kepler Done " cannot get model weight"
131+ else
132+ wait_for_keyword kepler " getWeightFromServer.*core" " kepler should get weight from server"
124133 fi
125134 fi
126135 fi
You can’t perform that action at this time.
0 commit comments