Skip to content

Commit

Permalink
test: 创建测试机器人
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyQing committed Apr 28, 2024
1 parent 1f0ea42 commit 3e462bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ExceptionApiTest extends AbstractTest {
private ExceptionApiChecker exceptionApiChecker;

@Test
void testApiDown() throws Exception {
void testExceptionApiCheck() throws Exception {
OrderController orderController = applicationContext.getBean(OrderController.class);
for (int i = 1; i <= 6; i++) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ server:
smart:
health:
notifyType: HTTP_NOTICE
robotKey: 6654474b-c2dd-4e41-a959-95ae3d332f09
# 可先添加一个机器人,获取key后再移除机器人
robotKey: 79445cd5-4f18-4d44-a84a-01ff147d11ae
unhealthMinCount: 3
defaultFailRateThreshold: 0.60
failRateThresholds:
Expand Down

0 comments on commit 3e462bd

Please sign in to comment.