未验证 提交 9295bcc4 编写于 作者: E Elvys Soares 提交者: GitHub

Refactor ConcurrentBeanWrapperTests to use @RepeatedTest

Closes gh-26968
上级 746b1b2f
......@@ -26,8 +26,10 @@ import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
......@@ -44,11 +46,9 @@ public class ConcurrentBeanWrapperTests {
private Throwable ex = null;
@Test
@RepeatedTest(100)
public void testSingleThread() {
for (int i = 0; i < 100; i++) {
performSet();
}
performSet();
}
@Test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册