From 8809d72ee52f9b82f700fab18f7313b55b4a3967 Mon Sep 17 00:00:00 2001 From: zhanghongtong Date: Tue, 27 Jul 2021 10:35:06 +0800 Subject: [PATCH] chore(CI): check relup rule action success --- .ci/fvt_tests/relup.lux | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/fvt_tests/relup.lux b/.ci/fvt_tests/relup.lux index f5b36c648..63f3a62e6 100644 --- a/.ci/fvt_tests/relup.lux +++ b/.ci/fvt_tests/relup.lux @@ -138,6 +138,10 @@ ?300 ?SH-PROMPT + !curl --user admin:public --silent --show-error http://localhost:8081/api/v4/rules | jq --raw-output ".data[0].actions[0].metrics[] | select(.node==\"emqx@127.0.0.1\").success" + ?300 + ?SH-PROMPT + !curl http://127.0.0.1:8080/counter ???{"data":300,"code":0} ?SH-PROMPT