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");
}
@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();