test: add current protocol compatibility gate

This commit is contained in:
2026-09-20 01:30:28 +08:00
parent 88ec4545b4
commit 695dc969aa
10 changed files with 165 additions and 5 deletions

View File

@@ -73,6 +73,7 @@ make test
make vet
make build
make integration
make protocol-check
```
`make integration` 要求 Docker、OpenSSL 等标准命令,启动独立的临时 MySQL 容器,使用随机凭据和回环随机端口;完成后删除该测试容器。不会连接已有业务数据库。可通过 `GO`、`DOCKER` 和 `ORBIT_TEST_MYSQL_IMAGE` 指定工具/测试镜像。