Skip to content

Commit dde3558

Browse files
committed
Fixed the Port Already in Use Issue
1 parent d47ea19 commit dde3558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hystrix/src/test/java/com/baeldung/hystrix/SpringAndHystrixIntegrationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import static org.hamcrest.Matchers.equalTo;
1414

1515
@RunWith(SpringRunner.class)
16-
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT, classes = AppConfig.class)
16+
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = AppConfig.class)
1717
public class SpringAndHystrixIntegrationTest {
1818

1919
@Autowired

0 commit comments

Comments
 (0)