Skip to content

Commit 0a6e117

Browse files
committed
Disable flaky tests
Resolves spring-projects#3847
1 parent 37b8ade commit 0a6e117

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spring-batch-infrastructure/src/test/java/org/springframework/batch/support/transaction/ConcurrentTransactionAwareProxyTests.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,8 +36,10 @@
3636
import org.apache.commons.logging.LogFactory;
3737
import org.junit.jupiter.api.AfterEach;
3838
import org.junit.jupiter.api.BeforeEach;
39-
import org.junit.jupiter.api.Disabled;
4039
import org.junit.jupiter.api.Test;
40+
import org.junit.jupiter.api.condition.DisabledOnOs;
41+
import org.junit.jupiter.api.condition.OS;
42+
4143
import org.springframework.transaction.PlatformTransactionManager;
4244
import org.springframework.transaction.TransactionStatus;
4345
import org.springframework.transaction.support.TransactionCallback;
@@ -49,7 +51,7 @@
4951
* @author Mahmoud Ben Hassine
5052
*
5153
*/
52-
@Disabled // FIXME https://github.com/spring-projects/spring-batch/issues/3847
54+
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "Intermittent false-negative failures")
5355
class ConcurrentTransactionAwareProxyTests {
5456

5557
private static final Log logger = LogFactory.getLog(ConcurrentTransactionAwareProxyTests.class);

0 commit comments

Comments
 (0)