Fixed the Port Already in Use Issue

This commit is contained in:
Ali Dehghani 2019-11-02 18:28:52 +03:30
parent d47ea19834
commit dde3558df2
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT, classes = AppConfig.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = AppConfig.class)
public class SpringAndHystrixIntegrationTest {
@Autowired