Skip to content

Commit

Permalink
Add log
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 31, 2024
1 parent 30bc3fa commit bd36756
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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());

Expand All @@ -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
Expand Down

0 comments on commit bd36756

Please sign in to comment.