Ignore Batch tests that use JDBC as they don’t work with Spring 4.2
Spring Framework’s ParamterizedRowMapper has been deprecated since 3.1 and has been removed in 4.2. Spring Batch currently relies on ParameterizedRowMapper, making it incompatible with 4.2. To allow us to build successfully against 4.2, this commit ignores Spring Boot’s tests that use Spring Batch’s JDBC support. See gh-2575
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package sample.batch;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
@@ -24,6 +25,7 @@ import org.springframework.boot.test.OutputCapture;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
@Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2")
|
||||
public class SampleBatchApplicationTests {
|
||||
|
||||
@Rule
|
||||
|
||||
Reference in New Issue
Block a user