You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 启动 PostgreSQL 并运行单实例测试
make test# 启动 PostgreSQL 并运行多实例测试
make test-multi
# 启动 PostgreSQL 并运行所有测试
make test-all
# 生成覆盖率报告
make coverage
# 停止 PostgreSQL 服务
make down
手动测试
# 1. 启动 PostgreSQL
docker-compose up -d
# 2. 运行单实例测试
go test -v ./...
# 3. 运行多实例测试
TAO_TEST_MULTI_INSTANCE=true go test -v ./...
# 4. 停止 PostgreSQL
docker-compose down