Merge pull request #9960 from alimate/BAEL-4579-3
BAEL-4579: Disabling Tomcat URL Stream Factory
This commit is contained in:
commit
4ef9b3398f
|
@ -1,5 +1,6 @@
|
|||
package com.baeldung.spring.cloud.ribbon.retry;
|
||||
|
||||
import org.apache.catalina.webresources.TomcatURLStreamHandlerFactory;
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
@ -24,6 +25,7 @@ public class RibbonRetryFailureIntegrationTest {
|
|||
|
||||
@BeforeAll
|
||||
public static void setup() {
|
||||
TomcatURLStreamHandlerFactory.disable();
|
||||
weatherServiceInstance1 = startApp(8021);
|
||||
weatherServiceInstance2 = startApp(8022);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.baeldung.spring.cloud.ribbon.retry;
|
||||
|
||||
import org.apache.catalina.webresources.TomcatURLStreamHandlerFactory;
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
@ -25,6 +26,7 @@ public class RibbonRetrySuccessIntegrationTest {
|
|||
|
||||
@BeforeAll
|
||||
public static void setup() {
|
||||
TomcatURLStreamHandlerFactory.disable();
|
||||
weatherServiceInstance1 = startApp(8021);
|
||||
weatherServiceInstance2 = startApp(8022);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue