How to autowire/create multiple MockMvc instances in a SpringBootTest for parallel testing

后端 未结 0 1106
青春惊慌失措
青春惊慌失措 2020-12-20 12:06

Suppose I am testing a controller, with a junit-test as below:

@SpringBootTest
@AutoConfigureMockMvc
public class ConcurrentUnsafeControllerTest {

@Autowired         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题