Reinstate Session Redis smoke test

See gh-30673
pull/30825/head
Andy Wilkinson 3 years ago
parent 331ec1ab21
commit 061d86e037

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2021 the original author or authors. * Copyright 2012-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -18,10 +18,8 @@ package smoketest.session.redis;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
@SpringBootApplication @SpringBootApplication
@EnableRedisHttpSession
public class SampleSessionRedisApplication { public class SampleSessionRedisApplication {
public static void main(String[] args) { public static void main(String[] args) {

@ -20,7 +20,6 @@ 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;
@ -61,7 +60,6 @@ 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