Upgrade to Maven Surefire Plugin 2.2.22
This commit also polishes the build as "Tests" is a pattern that is recognized automatically. This revealed a number of test classes that did not end with Tests and were not executed.
This commit is contained in:
14
pom.xml
14
pom.xml
@@ -258,7 +258,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.22.1</version>
|
||||
<version>2.22.2</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
@@ -312,18 +312,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*Tests.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/Abstract*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2019 the original author or authors.
|
||||
* Copyright 2006-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.
|
||||
@@ -28,7 +28,7 @@ import org.springframework.retry.support.RetryTemplate;
|
||||
/**
|
||||
* @author Aleksandr Shamukov
|
||||
*/
|
||||
public class BinaryExceptionClassifierBuilderTest {
|
||||
public class BinaryExceptionClassifierBuilderTests {
|
||||
|
||||
@Test
|
||||
public void testWhiteList() {
|
||||
@@ -1,3 +1,19 @@
|
||||
/*
|
||||
* Copyright 2006-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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.retry.annotation;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
@@ -10,10 +26,10 @@ import org.springframework.retry.RetryContext;
|
||||
import org.springframework.retry.policy.CircuitBreakerRetryPolicy;
|
||||
import org.springframework.retry.support.RetrySynchronizationManager;
|
||||
|
||||
public class CircuitBreakerResetTimeoutTest {
|
||||
public class CircuitBreakerResetTimeoutTests {
|
||||
|
||||
private AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(
|
||||
CircuitBreakerResetTimeoutTest.TestConfiguration.class);
|
||||
CircuitBreakerResetTimeoutTests.TestConfiguration.class);
|
||||
|
||||
private TestService serviceInTest = context.getBean(TestService.class);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2021 the original author or authors.
|
||||
* Copyright 2006-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.
|
||||
@@ -24,7 +24,7 @@ import org.junit.Test;
|
||||
* @author Tomaz Fernandes
|
||||
* @since 1.3.2
|
||||
*/
|
||||
public class UniformRandomBackOffPolicyTest {
|
||||
public class UniformRandomBackOffPolicyTests {
|
||||
|
||||
@Test
|
||||
public void testSetSleeper() {
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2019 the original author or authors.
|
||||
* Copyright 2006-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.
|
||||
@@ -52,7 +52,7 @@ import static org.springframework.retry.util.test.TestUtils.getPropertyValue;
|
||||
* @author Aleksandr Shamukov
|
||||
* @author Kim In Hoi
|
||||
*/
|
||||
public class RetryTemplateBuilderTest {
|
||||
public class RetryTemplateBuilderTests {
|
||||
|
||||
/* ---------------- Mixed tests -------------- */
|
||||
|
||||
Reference in New Issue
Block a user