Tests: fixed performance problem (x20 speed up, no need to call full garbage collector manually)

This commit is contained in:
Oleg Agafonov 2018-01-09 19:27:25 +04:00
parent b353a25f57
commit 8e3b610a0c
3 changed files with 1 additions and 3 deletions

View file

@ -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();