Skip to content

Commit

Permalink
chore(engine): adjust engine it test for was
Browse files Browse the repository at this point in the history
* Configure the `ClassloadingByJobPriorityTest` to run correctly on WAS.

Related to CAM-9913
  • Loading branch information
koevskinikola committed May 25, 2021
1 parent e44d9eb commit 744ca58
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.camunda.bpm.engine.impl.jobexecutor.JobExecutor;
import org.camunda.bpm.engine.runtime.Job;
import org.camunda.bpm.integrationtest.util.AbstractFoxPlatformIntegrationTest;
import org.camunda.bpm.integrationtest.util.TestContainer;
import org.camunda.bpm.model.bpmn.Bpmn;
import org.camunda.bpm.model.bpmn.BpmnModelInstance;
import org.jboss.arquillian.container.test.api.Deployment;
Expand Down Expand Up @@ -52,10 +53,14 @@ public class ClassloadingByJobPriorityTest extends AbstractFoxPlatformIntegratio

@Deployment(name= "engineWithPriorityJobAcquisition")
public static WebArchive processArchive() {
return initWebArchiveDeployment("processApp.war",
WebArchive webArchive = initWebArchiveDeployment("processApp.war",
"org/camunda/bpm/integrationtest/functional/classloading/jobexecution/engineWithAcquireJobsByPriority.xml")
.addClass(AbstractFoxPlatformIntegrationTest.class)
.addAsResource(modelAsAsset(process), "ClassloadingByJobPriorityTest.testDeployProcessArchive.bpmn");
TestContainer.addContainerSpecificResources(webArchive);
TestContainer.addContainerSpecificProcessEngineConfigurationClass(webArchive);

return webArchive;
}

@Test
Expand Down

0 comments on commit 744ca58

Please sign in to comment.