Skip to content

Commit

Permalink
chore(test): tiny cleanup
Browse files Browse the repository at this point in the history
Related with #CAM-8004
  • Loading branch information
sdorokhova committed Jul 27, 2017
1 parent 7750a01 commit 9266862
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ProcessEngineConfiguration configureEngine(ProcessEngineConfigurationImpl
protected ProcessEngineTestRule testRule = new ProcessEngineTestRule(engineRule);

@Rule
public RuleChain ruleChain = RuleChain.outerRule(engineRule).around(testRule);
public RuleChain ruleChain = RuleChain.outerRule(deploymentAwareBootstrapRule).around(engineRule).around(testRule);

@Test
public void testFindAcquirableJobsWhen0InstancesDeployed() {
Expand Down Expand Up @@ -78,9 +78,9 @@ public void testFindAcquirableJobsWhen1001InstancesDeployed() {
@Test
public void testFindAcquirableJobsWhen2000InstancesDeployed() {
// given
Assume.assumeTrue(engineRule.getProcessEngineConfiguration().getDatabaseType().equals("oracle"));
//Assume.assumeTrue(engineRule.getProcessEngineConfiguration().getDatabaseType().equals("oracle"));
// when
for (int i=0; i<2000; i++) {
for (int i=0; i<2001; i++) {
testRule.deploy(ProcessModels.ONE_TASK_PROCESS);
}
// then
Expand Down

0 comments on commit 9266862

Please sign in to comment.