docs: standardize load test runtime package names

This commit is contained in:
richjohnrambo
2026-09-27 22:31:53 +08:00
parent 72e6c7b2c7
commit e90e92a59e
+6 -4
View File
@@ -26,18 +26,20 @@
机器 A 已生成安全运行包:
```text
/tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip
/tmp/group2k-r1-20260927-01.zip
SHA-256: 21e65b19476e64348b9214322021d880b231de1f9c9f685ea43d0082103e9cd1
```
运行包文件名固定为 `/tmp/<RUN_ID>.zip`。它包含被 Git 忽略的密钥和 Token,因此 `git pull` 不会下载该文件,必须从机器 A 的 `/tmp` 目录单独复制。
运行包内只有三个运行时文件:`.env.test`、`config.json`、`manifest.json`。其中包含 API Key、测试账号密码、固定测试验证码和账号 Token,不进入 Git,必须通过受控内网传输。测试环境验证码为 `123456`,正式环境禁止使用固定验证码。
因此,机器 B 只执行 `git pull` 后看不到这三个文件是正常现象。机器 B 需要从机器 A 单独复制运行包:
```bash
scp youshunlai@192.168.1.135:/tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip /tmp/
scp youshunlai@192.168.1.135:/tmp/group2k-r1-20260927-01.zip /tmp/
shasum -a 256 /tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip
shasum -a 256 /tmp/group2k-r1-20260927-01.zip
# 必须输出:21e65b19476e64348b9214322021d880b231de1f9c9f685ea43d0082103e9cd1
```
@@ -76,7 +78,7 @@ ulimit -n 100000
在机器 B 的仓库根目录执行:
```bash
unzip -o /tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip \
unzip -o /tmp/group2k-r1-20260927-01.zip \
-d loadtest/im-pressure
chmod 600 \
loadtest/im-pressure/.env.test \