docs: use tdengine checks in split runbook
This commit is contained in:
@@ -107,6 +107,21 @@ class PortainerComposeResourceLimitsTest {
|
||||
.doesNotContain("Vehicle state can also be enabled from this runtime");
|
||||
}
|
||||
|
||||
@Test
|
||||
void splitRunbookUsesTdengineHistoryVerificationInsteadOfEventFileStore() throws IOException {
|
||||
String splitRunbook = Files.readString(repositoryRoot()
|
||||
.resolve("docs/operations/gb32960-service-split-runbook.md"));
|
||||
|
||||
assertThat(splitRunbook)
|
||||
.contains("TDENGINE_HISTORY_ENABLED=true")
|
||||
.contains("SELECT COUNT(*) FROM raw_frames")
|
||||
.contains("SELECT COUNT(*) FROM vehicle_locations")
|
||||
.doesNotContain("EVENT_FILE_STORE_PATH")
|
||||
.doesNotContain("target/split-event-store")
|
||||
.doesNotContain("event-store files")
|
||||
.doesNotContain("/api/event-history/records?");
|
||||
}
|
||||
|
||||
@Test
|
||||
void vehicleAnalyticsComposeOnlyExposesStatConsumerEnvironment() throws IOException {
|
||||
String compose = Files.readString(repositoryRoot().resolve("deploy/portainer/docker-compose.yml"));
|
||||
|
||||
Reference in New Issue
Block a user