1 Reply Latest reply on Nov 21, 2016 7:29 PM by igarashitm

    how to specify domain properties for testing

    mlybarger

      My team has a LOT of switchyard test across several projects.  Building the entire suite takes a lot of time.

       

      During the test executions, I see this log:

       

      Starting to graceful shutdown 1 routes (timeout 30 seconds)

       

      After researching, I find that I can set the domain property of org.switchyard.camel.ShutdownTimeout to smaller number, and that'll make for faster tests.  It works if I put the domain property directly into the sy.xml, but I don't really want to set that for the actual application, and I don't want a separate test sy.xml file. 

       

      Is there a way to set this domain property from my test case itself?