Temporarily disable testWriteRetryOnTwoExceptions

Issue #4370
This commit is contained in:
Mahmoud Ben Hassine
2023-05-11 13:27:44 +02:00
parent 30e8766faa
commit 4a4c822274

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008-2022 the original author or authors.
* Copyright 2008-2023 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.
@@ -27,6 +27,7 @@ import java.util.List;
import java.util.Set;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobInstance;
@@ -402,6 +403,7 @@ class FaultTolerantChunkProcessorTests {
}
@Test
@Disabled("https://github.com/spring-projects/spring-batch/issues/4370")
void testWriteRetryOnTwoExceptions() throws Exception {
SimpleRetryPolicy retryPolicy = new SimpleRetryPolicy();
retryPolicy.setMaxAttempts(2);