From bd36756e84e13917fc55f78a697a3e3ad986c3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 31 Oct 2024 14:02:23 +0100 Subject: [PATCH] Add log --- .../org/mapfish/print/servlet/job/ClusteringTaskTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/test/java/org/mapfish/print/servlet/job/ClusteringTaskTest.java b/core/src/test/java/org/mapfish/print/servlet/job/ClusteringTaskTest.java index 6ba014c18..2fa367316 100644 --- a/core/src/test/java/org/mapfish/print/servlet/job/ClusteringTaskTest.java +++ b/core/src/test/java/org/mapfish/print/servlet/job/ClusteringTaskTest.java @@ -34,6 +34,8 @@ public void setup() { @Test(timeout = 60000) public void testRun() throws Exception { + System.out.println("Starting jobs"); + PJsonObject requestData = new PJsonObject( new JSONObject("{\"" + MapPrinterServlet.JSON_APP + "\":\"default\"}"), "job"); @@ -66,6 +68,8 @@ public void testRun() throws Exception { } } + System.out.println("All jobs are done"); + // verify each job was run only once assertEquals(4, jobMan1.getJobsRun() + jobMan2.getJobsRun()); @@ -86,6 +90,7 @@ public TestJobManager(String name) { } protected PrintJob createJob(final PrintJobEntry entry) { + System.out.println("createJob on " + name); PrintJob job = new PrintJob() { @Override