Skip to content

Commit

Permalink
Ensuring that the started method gets called in order - TRUNK-4134
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Nov 18, 2013
1 parent a477802 commit ad74f95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/test/java/org/openmrs/module/ModuleActivatorTest.java
Expand Up @@ -71,6 +71,9 @@ public void shouldStartModulesInOrder() throws Exception {
//so startup order should be module1, module2, module3
assertTrue(moduleTestData.getWillStartCallTime(MODULE1_ID) <= moduleTestData.getWillStartCallTime(MODULE2_ID));
assertTrue(moduleTestData.getWillStartCallTime(MODULE2_ID) <= moduleTestData.getWillStartCallTime(MODULE3_ID));

assertTrue(moduleTestData.getStartedCallTime(MODULE1_ID) <= moduleTestData.getStartedCallTime(MODULE2_ID));
assertTrue(moduleTestData.getStartedCallTime(MODULE2_ID) <= moduleTestData.getStartedCallTime(MODULE3_ID));
}

@Test
Expand Down

0 comments on commit ad74f95

Please sign in to comment.