Made some test timeouts more generous
This commit is contained in:
parent
b631dc0ceb
commit
3c824e830c
@ -9,7 +9,7 @@ import org.junit.jupiter.api.Timeout;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
|
@Timeout(value = 2500, unit = TimeUnit.MILLISECONDS)
|
||||||
public class ApplyMoveTest implements TestMapNamePlayerCount {
|
public class ApplyMoveTest implements TestMapNamePlayerCount {
|
||||||
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
||||||
private static void testGame(List<String> game){
|
private static void testGame(List<String> game){
|
||||||
|
@ -11,7 +11,7 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
|
@Timeout(value = 2200, unit = TimeUnit.MILLISECONDS)
|
||||||
public class CalculateIslandLinksScoreTest implements TestMapNamePlayerCount {
|
public class CalculateIslandLinksScoreTest implements TestMapNamePlayerCount {
|
||||||
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
||||||
private final IslandLinksScoreDataLoader islandLinksScoreDataLoader = new IslandLinksScoreDataLoader();
|
private final IslandLinksScoreDataLoader islandLinksScoreDataLoader = new IslandLinksScoreDataLoader();
|
||||||
|
@ -11,7 +11,7 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
|
@Timeout(value = 3000, unit = TimeUnit.MILLISECONDS)
|
||||||
public class CalculateScoresTest implements TestMapNamePlayerCount {
|
public class CalculateScoresTest implements TestMapNamePlayerCount {
|
||||||
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
||||||
private final ScoreDataLoader scoreDataLoader = new ScoreDataLoader();
|
private final ScoreDataLoader scoreDataLoader = new ScoreDataLoader();
|
||||||
|
@ -11,7 +11,7 @@ import java.util.List;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@Timeout(value = 3000, unit = TimeUnit.MILLISECONDS)
|
@Timeout(value = 30000, unit = TimeUnit.MILLISECONDS)
|
||||||
public class GenerateAIMoveTest implements TestMapNamePlayerCount {
|
public class GenerateAIMoveTest implements TestMapNamePlayerCount {
|
||||||
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
||||||
private final AllValidMovesDataLoader loader = new AllValidMovesDataLoader();
|
private final AllValidMovesDataLoader loader = new AllValidMovesDataLoader();
|
||||||
|
@ -8,7 +8,7 @@ import org.junit.jupiter.api.Timeout;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@Timeout(value = 1000, unit = TimeUnit.MILLISECONDS)
|
@Timeout(value = 1300, unit = TimeUnit.MILLISECONDS)
|
||||||
public class IsMoveStringWellFormedTest {
|
public class IsMoveStringWellFormedTest {
|
||||||
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
||||||
private final List<List<String>> allGames = gameDataLoader.fetchAllGames();
|
private final List<List<String>> allGames = gameDataLoader.fetchAllGames();
|
||||||
|
@ -8,7 +8,7 @@ import org.junit.jupiter.api.Timeout;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@Timeout(value = 1000, unit = TimeUnit.MILLISECONDS)
|
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
|
||||||
public class IsStateStringWellFormedTest {
|
public class IsStateStringWellFormedTest {
|
||||||
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
private final GameDataLoader gameDataLoader = new GameDataLoader();
|
||||||
private final List<List<String>> allGames = gameDataLoader.fetchAllGames();
|
private final List<List<String>> allGames = gameDataLoader.fetchAllGames();
|
||||||
|
Loading…
Reference in New Issue
Block a user