dionusos commented on a change in pull request #64: URL: https://github.com/apache/oozie/pull/64#discussion_r783248548
########## File path: core/src/test/java/org/apache/oozie/command/wf/TestSignalXCommand.java ########## @@ -314,4 +322,98 @@ public boolean evaluate() throws Exception { assertEquals(prepActions.length, numPrep); assertEquals(okActions.length, numOK); } + + private void writeToFile(String appXml, String appPath) throws IOException { + File wf = new File(URI.create(appPath)); + PrintWriter out = null; + try { + out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(wf), StandardCharsets.UTF_8)); + out.println(appXml); + } + catch (IOException iex) { + throw iex; + } + finally { + if (out != null) { + out.close(); + } + } + } + + /** + * This test case is just to test possible dead-lock when + * the conf of oozie.workflow.parallel.fork.action.start + * is enabled. + * + * Details could be linked to OOZIE-3646 + */ + public void testPossibleDeadLock() throws Exception { + setSystemProperty(Services.CONF_SERVICE_EXT_CLASSES, ExtendedCallableQueueService.class.getName()); + + services = new Services(); + Configuration servicesConf = services.getConf(); + servicesConf.set("oozie.service.CallableQueueService.threads", "1"); Review comment: Use org.apache.oozie.service.CallableQueueService.CONF_THREADS -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@oozie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org