docs: align runbooks with tdengine raw frames

This commit is contained in:
lingniu
2026-07-01 06:11:10 +08:00
parent 56149c884e
commit f91fa21463
3 changed files with 33 additions and 15 deletions

View File

@@ -75,6 +75,24 @@ class PortainerComposeResourceLimitsTest {
.doesNotContain("history 服务按同一个 archive root 读取原始帧");
}
@Test
void operationRunbooksDescribeTdengineRawJsonHotPath() throws IOException {
Path operations = repositoryRoot().resolve("docs/operations");
String tdengineVerification = Files.readString(operations.resolve("vehicle-ingest-tdengine-verification.md"));
String splitRunbook = Files.readString(operations.resolve("gb32960-service-split-runbook.md"));
assertThat(tdengineVerification)
.contains("TDengine `raw_frames`")
.doesNotContain("三个服务必须共用同一个 `SINK_ARCHIVE_PATH`")
.doesNotContain("再回读共享 archive")
.doesNotContain("读取共享 archive 中的原始 `.bin`");
assertThat(splitRunbook)
.contains("TDengine `raw_frames`")
.doesNotContain("must share the same `SINK_ARCHIVE_PATH`")
.doesNotContain("history can only read raw frames")
.doesNotContain("shared volume mounted to all three services");
}
@Test
void vehicleAnalyticsComposeOnlyExposesStatConsumerEnvironment() throws IOException {
String compose = Files.readString(repositoryRoot().resolve("deploy/portainer/docker-compose.yml"));