chore: clarify redis-only session store

This commit is contained in:
lingniu
2026-07-01 15:39:24 +08:00
parent 80c051e056
commit 4d9779e088
2 changed files with 13 additions and 1 deletions

View File

@@ -376,6 +376,18 @@ class MavenModuleProfileTest {
.doesNotContain("Redis/in-memory"); .doesNotContain("Redis/in-memory");
} }
@Test
void sessionCorePomDescriptionDoesNotAdvertiseRedisAsFallback() throws Exception {
Document sessionCorePom = modulePom("modules/core/session-core/pom.xml");
String description = firstDirectChild(sessionCorePom.getDocumentElement(), "description").getTextContent();
assertThat(description)
.contains("Redis SessionStore")
.doesNotContain("兜底")
.doesNotContain("fallback")
.doesNotContain("memory");
}
@Test @Test
void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception { void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception {
Document pom = rootPom(); Document pom = rootPom();

View File

@@ -9,7 +9,7 @@
</parent> </parent>
<artifactId>session-core</artifactId> <artifactId>session-core</artifactId>
<name>session-core</name> <name>session-core</name>
<description>设备会话 + 鉴权 + Token + Redis 兜底</description> <description>设备会话 + 鉴权 + Token + Redis SessionStore</description>
<dependencies> <dependencies>
<dependency> <dependency>