chore: clarify redis-only session store
This commit is contained in:
@@ -376,6 +376,18 @@ class MavenModuleProfileTest {
|
||||
.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
|
||||
void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</parent>
|
||||
<artifactId>session-core</artifactId>
|
||||
<name>session-core</name>
|
||||
<description>设备会话 + 鉴权 + Token + Redis 兜底。</description>
|
||||
<description>设备会话 + 鉴权 + Token + Redis SessionStore。</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user