Skip to content

Commit 3f8783f

Browse files
committed
💚 Duplicate move of timeout from web-jersey-app
1 parent 0605f4b commit 3f8783f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎spring/fluentforms-sample-webmvc-app/src/test/java/com/_4point/aem/fluentforms/sampleapp/resources/AbstractAemProxyEndpointTest.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77

88
import java.net.URI;
99
import java.nio.file.Path;
10-
import java.util.concurrent.TimeUnit;
1110

1211
import org.htmlunit.WebClient;
1312
import org.htmlunit.html.HtmlPage;
1413
import org.junit.jupiter.api.Test;
15-
import org.junit.jupiter.api.Timeout;
1614
import org.springframework.boot.test.web.server.LocalServerPort;
1715
import org.springframework.http.HttpStatus;
1816
import org.springframework.http.MediaType;
@@ -30,7 +28,6 @@ protected AbstractAemProxyEndpointTest(String sampleFileLocation) {
3028
this.sampleFileLocation = sampleFileLocation;
3129
}
3230

33-
@Timeout(value = 30, unit = TimeUnit.SECONDS)
3431
@Test
3532
void testProxyCsrfToken() throws Exception {
3633
String csrf_token_path = "/aem/libs/granite/csrf/token.json";

‎spring/fluentforms-sample-webmvc-app/src/test/java/com/_4point/aem/fluentforms/sampleapp/resources/WireMockAemProxyEndpointTest.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import java.nio.file.Path;
77
import java.util.List;
8+
import java.util.concurrent.TimeUnit;
89

910
import org.htmlunit.DefaultCredentialsProvider;
1011
import org.htmlunit.WebClient;
@@ -13,6 +14,7 @@
1314
import org.junit.jupiter.api.BeforeEach;
1415
import org.junit.jupiter.api.Disabled;
1516
import org.junit.jupiter.api.Test;
17+
import org.junit.jupiter.api.Timeout;
1618
import org.junit.jupiter.api.condition.EnabledIf;
1719
import org.springframework.boot.test.context.SpringBootTest;
1820
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
@@ -36,6 +38,7 @@
3638
portProperties = "fluentforms.aem.port"
3739
)
3840
)
41+
@Timeout(value = 30, unit = TimeUnit.SECONDS)
3942
class WireMockAemProxyEndpointTest extends AbstractAemProxyEndpointTest {
4043
private static final boolean WIREMOCK_RECORDING = false;
4144

0 commit comments

Comments
 (0)