forked from wildfly/wildfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade javassist to support jdk7 * upgrade & mockito & powermock to support jdk7 * upgrade junit to 4.11 to gain test ordering support * fix test ordering
- Loading branch information
1 parent
17f2a65
commit a355e54
Showing
15 changed files
with
195 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,12 +42,15 @@ | |
import org.junit.AfterClass; | ||
import org.junit.Assert; | ||
import org.junit.BeforeClass; | ||
import org.junit.FixMethodOrder; | ||
import org.junit.Test; | ||
import org.junit.runners.MethodSorters; | ||
|
||
/** | ||
* | ||
* @author Dominik Pospisil <[email protected]> | ||
*/ | ||
@FixMethodOrder(MethodSorters.NAME_ASCENDING) | ||
public class RolloutPlanTestCase extends AbstractCliTestBase { | ||
|
||
private static WebArchive war; | ||
|
@@ -107,7 +110,7 @@ public static void after() throws Exception { | |
} | ||
|
||
@Test | ||
public void testInSeriesRolloutPlan() throws Exception { | ||
public void test1InSeriesRolloutPlan() throws Exception { | ||
|
||
// create rollout plans | ||
|
||
|
@@ -188,7 +191,7 @@ public void testInSeriesRolloutPlan() throws Exception { | |
* Tests rollout plan with non-zero maxFailedServers attribute. | ||
*/ | ||
@Test | ||
public void testMaxFailServersRolloutPlan() throws Exception { | ||
public void test2MaxFailServersRolloutPlan() throws Exception { | ||
|
||
// deploy helper servlets | ||
cli.sendLine("deploy " + warFile.getAbsolutePath() + " --all-server-groups"); | ||
|
@@ -254,7 +257,7 @@ public void testMaxFailServersRolloutPlan() throws Exception { | |
* Tests rollout plan with non-zero maxFailurePercentage attribute. | ||
*/ | ||
@Test | ||
public void testMaxFailServersPercentageRolloutPlan() throws Exception { | ||
public void test3MaxFailServersPercentageRolloutPlan() throws Exception { | ||
|
||
// deploy helper servlets | ||
cli.sendLine("deploy " + warFile.getAbsolutePath() + " --all-server-groups"); | ||
|
@@ -312,7 +315,7 @@ public void testMaxFailServersPercentageRolloutPlan() throws Exception { | |
* Tests rollout plan with RollbackAcrossGroups set to true. | ||
*/ | ||
@Test | ||
public void testRollbackAcrossGroupsRolloutPlan() throws Exception { | ||
public void test4RollbackAcrossGroupsRolloutPlan() throws Exception { | ||
// deploy helper servlets | ||
cli.sendLine("deploy " + warFile.getAbsolutePath() + " --all-server-groups"); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.