Reinstate Session Redis smoke test

See gh-30673
This commit is contained in:
Andy Wilkinson 2022-04-25 13:18:56 +01:00
parent 331ec1ab21
commit 061d86e037
2 changed files with 1 additions and 5 deletions

View File

@ -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");
* 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.autoconfigure.SpringBootApplication;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
@SpringBootApplication
@EnableRedisHttpSession
public class SampleSessionRedisApplication {
public static void main(String[] args) {

View File

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