docs: remove memory session guidance
This commit is contained in:
@@ -127,6 +127,22 @@ class MavenModuleProfileTest {
|
||||
.doesNotContain("车辆状态/日统计消费");
|
||||
}
|
||||
|
||||
@Test
|
||||
void productionDocsDoNotAdvertiseMemorySessionStore() throws Exception {
|
||||
String runbook = Files.readString(repositoryRoot()
|
||||
.resolve("docs/operations/gb32960-service-split-runbook.md"));
|
||||
String moduleDataFlow = Files.readString(repositoryRoot().resolve("docs/module-data-flow.html"));
|
||||
|
||||
assertThat(runbook)
|
||||
.contains("Session state requires Redis")
|
||||
.doesNotContain("SESSION_STORE=memory")
|
||||
.doesNotContain("without Redis");
|
||||
assertThat(moduleDataFlow)
|
||||
.contains("SessionStore 仅保留 Redis 后端")
|
||||
.doesNotContain("SessionStore 支持 <code>memory</code>")
|
||||
.doesNotContain("无 Redis 降级");
|
||||
}
|
||||
|
||||
@Test
|
||||
void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
Reference in New Issue
Block a user