Disable Redis Session smoke test

This commit temporarily disables the Redis Session smoke test, as it
relies on the Session Actuator endpoint being present.

Since spring-projects/spring-session#1711, the default session
repository contributed is not of type `FindByIndexNameSessionRepository`
and thus cannot support the Session endpoint use case.

Until gh-30673 is resolved, this test is disabled.

See gh-30673
pull/30697/head
Brian Clozel 3 years ago
parent 048ca9fc3c
commit 21eab010de

@ -20,6 +20,7 @@ import java.net.URI;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.testcontainers.junit.jupiter.Container; import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers; import org.testcontainers.junit.jupiter.Testcontainers;
@ -60,6 +61,7 @@ public class SampleSessionRedisApplicationTests {
} }
@Test @Test
@Disabled("See gh-30673")
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
void sessionsEndpointShouldReturnUserSessions() { void sessionsEndpointShouldReturnUserSessions() {
createSession(URI.create("/")); createSession(URI.create("/"));

Loading…
Cancel
Save