mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Merge branch 'master' of github.com:rsypen/mage into fix_tests_not_passing
This commit is contained in:
commit
29a889b236
58 changed files with 2327 additions and 150 deletions
|
|
@ -8,6 +8,7 @@ import mage.cards.decks.DeckCardLists;
|
|||
import mage.cards.repository.CardInfo;
|
||||
import mage.cards.repository.CardRepository;
|
||||
import mage.constants.ColoredManaSymbol;
|
||||
import mage.constants.MatchTimeLimit;
|
||||
import mage.constants.MultiplayerAttackOption;
|
||||
import mage.constants.RangeOfInfluence;
|
||||
import mage.game.match.MatchOptions;
|
||||
|
|
@ -275,6 +276,7 @@ public class LoadTest {
|
|||
options.setAttackOption(MultiplayerAttackOption.MULTIPLE);
|
||||
options.setRange(RangeOfInfluence.ALL);
|
||||
options.setWinsNeeded(1);
|
||||
options.setMatchTimeLimit(MatchTimeLimit.MIN__15);
|
||||
return options;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,6 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement
|
|||
if (currentGame != null) {
|
||||
logger.debug("Resetting previous game and creating new one!");
|
||||
currentGame = null;
|
||||
System.gc();
|
||||
}
|
||||
|
||||
currentGame = createNewGameAndPlayers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue