Fixed annoyed random fails of ThousandYearStormTest

This commit is contained in:
Oleg Agafonov 2020-06-30 20:56:14 +04:00
parent 307cddcbee
commit d99b0d7b80

View file

@ -279,8 +279,6 @@ public class ThousandYearStormTest extends CardTestPlayerBase {
You control enchanted permanent.
Cycling {2} ({2}, Discard this card: Draw a card.)
*/
// Test fails sometimes with the following message:
// Can't find available command - activate:Cast Lightning Bolt$targetPlayer=PlayerA
@Test
public void test_GetControlNotCounts() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 5);
@ -305,6 +303,7 @@ public class ThousandYearStormTest extends CardTestPlayerBase {
checkLife("a 1x copy", 2, PhaseStep.END_COMBAT, playerB, 20 - 3 - 3 * 2);
// change controller to B
activateManaAbility(2, PhaseStep.POSTCOMBAT_MAIN, playerB, "{T}: Add {U}", 7);
castSpell(2, PhaseStep.POSTCOMBAT_MAIN, playerB, "Lay Claim", "Thousand-Year Storm");
// cast bolt without pump
castSpell(2, PhaseStep.END_TURN, playerB, "Lightning Bolt", playerA);