update: roll back spring boot version to 2.2.12
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.2.13.RELEASE</version>
|
||||
<version>2.2.12.RELEASE</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<groupId>we</groupId>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
package we.stats.ratelimit;
|
||||
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.data.redis.core.StringRedisTemplate;
|
||||
import org.springframework.test.context.TestPropertySource;
|
||||
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
|
||||
import redis.embedded.RedisServer;
|
||||
import we.redis.RedisProperties;
|
||||
import we.redis.RedisServerConfiguration;
|
||||
import we.redis.RedisTemplateConfiguration;
|
||||
@@ -27,6 +29,13 @@ public class ResourceRateLimitConfigServiceTests {
|
||||
@Resource
|
||||
private StringRedisTemplate stringRedisTemplate;
|
||||
|
||||
ResourceRateLimitConfigService resourceRateLimitConfigService;
|
||||
|
||||
@BeforeAll
|
||||
void beforeAllTests() {
|
||||
resourceRateLimitConfigService = new ResourceRateLimitConfigService();
|
||||
}
|
||||
|
||||
@Test
|
||||
void initTest() throws InterruptedException {
|
||||
System.err.println(redisProperties);
|
||||
|
||||
Reference in New Issue
Block a user