Tests: fixed server load test for simple connection and game starting

This commit is contained in:
Oleg Agafonov 2018-01-10 20:53:25 +04:00
parent 13f26ab7be
commit 79bdd2ca8f

View file

@ -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;
}