We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 746b1b2 commit 9295bccCopy full SHA for 9295bcc
spring-beans/src/test/java/org/springframework/beans/ConcurrentBeanWrapperTests.java
@@ -26,8 +26,10 @@
26
27
import org.apache.commons.logging.Log;
28
import org.apache.commons.logging.LogFactory;
29
+import org.junit.jupiter.api.RepeatedTest;
30
import org.junit.jupiter.api.Test;
31
32
+
33
import static org.assertj.core.api.Assertions.assertThat;
34
35
/**
@@ -44,11 +46,9 @@ public class ConcurrentBeanWrapperTests {
44
46
45
47
private Throwable ex = null;
48
- @Test
49
+ @RepeatedTest(100)
50
public void testSingleThread() {
- for (int i = 0; i < 100; i++) {
- performSet();
51
- }
+ performSet();
52
}
53
54
@Test
0 commit comments