diff --git a/pom.xml b/pom.xml index 21b72a1..9473138 100644 --- a/pom.xml +++ b/pom.xml @@ -57,9 +57,9 @@ 11 - 2025.6.25 - 2.1.0 - 1.5.0 + 2025.11.28-6929c90d11ea7b7be5b14369 + 2025.12.2-692eafc711ea7b7be5aeb998 + 2025.12.2-692eb36d11ea7b7be5bb841e 0.8.12 @@ -69,6 +69,7 @@ 2.19.1 3.0.1 1.6 + 3.1.0 9.2.0 @@ -114,7 +115,7 @@ ch.exense.dependencies - dependencies-guava + dependencies-google ${dependencies.version} pom import @@ -284,6 +285,11 @@ jacoco-maven-plugin ${dep.mvn.jacoco.version} + + org.apache.maven.plugins + maven-enforcer-plugin + ${dep.mvn.enforcer.version} + org.owasp dependency-check-maven @@ -292,6 +298,28 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-policies + + enforce + + + + + + jakarta.xml.bind:jakarta.xml.bind-api + + + + true + + + + org.jacoco jacoco-maven-plugin @@ -373,6 +401,17 @@ + + + SkipJavadoc + + true + + + true + + + DependencyCheck diff --git a/step-grid-tests/src/test/java/step/grid/agent/AgentTest.java b/step-grid-tests/src/test/java/step/grid/agent/AgentTest.java index 382d14f..709f956 100644 --- a/step-grid-tests/src/test/java/step/grid/agent/AgentTest.java +++ b/step-grid-tests/src/test/java/step/grid/agent/AgentTest.java @@ -158,15 +158,15 @@ public void testInterruption() throws Exception { private void testInterruption(boolean createSession) throws Exception { TokenWrapper token = client.getTokenHandle(null, Map.of(), createSession); - // Interrupt the execution in 4s. We have to wait that long because the start of the execution may take some time with the forked agent - CompletableFuture.delayedExecutor(4000, TimeUnit.MILLISECONDS).execute(() -> { + // Interrupt the execution in 7s. We have to wait that long because the start of the execution may take some time with the forked agent + CompletableFuture.delayedExecutor(7000, TimeUnit.MILLISECONDS).execute(() -> { try { client.interruptTokenExecution(token.getID()); } catch (GridClientException | AbstractGridClientImpl.AgentCommunicationException e) { throw new RuntimeException(e); } }); - JsonNode o = new ObjectMapper().createObjectNode().put("delay", 5000); + JsonNode o = new ObjectMapper().createObjectNode().put("delay", 10000); try { OutputMessage outputMessage = client.call(token.getID(), o, TestTokenHandler.class.getName(), null, null, 10_000); Assert.assertEquals("{\"status\":\"interrupted\"}", outputMessage.getPayload().toString());