mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-05 03:43:52 +00:00
Added output to see where this test stalls
This commit is contained in:
1 parent
4e6645ed04
commit
42e79e0f2f
1 file changed
+6
+6
@@ -6,6 +6,7 @@ import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.GregorianCalendar;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -28,6 +29,7 @@ import com.sap.sailing.domain.tractracadapter.ReceiverType;
|
||||
|
||||
public class LeaderboardForKielWeekTest extends OnlineTracTracBasedTest {
|
||||
|
||||
private Logger logger = Logger.getLogger(LeaderboardForKielWeekTest.class.getName());
|
||||
private FlexibleLeaderboardImpl leaderboard;
|
||||
|
||||
public LeaderboardForKielWeekTest() throws MalformedURLException, URISyntaxException {
|
||||
@@ -65,9 +67,13 @@ public class LeaderboardForKielWeekTest extends OnlineTracTracBasedTest {
|
||||
|
||||
private void loadRace(String raceId) throws MalformedURLException, IOException, InterruptedException,
|
||||
URISyntaxException {
|
||||
logger.info("Loading race " + raceId);
|
||||
setUp("event_20110609_KielerWoch", raceId, ReceiverType.RACECOURSE, ReceiverType.RACESTARTFINISH, ReceiverType.MARKPASSINGS);
|
||||
logger.info("Recording wind for " + raceId);
|
||||
getTrackedRace().recordWind(new WindImpl(/* position */ null, MillisecondsTimePoint.now(),
|
||||
new KnotSpeedWithBearingImpl(12, new DegreeBearingImpl(70))), new WindSourceImpl(WindSourceType.WEB));
|
||||
logger.info("Fixing mark positions for " + raceId);
|
||||
fixApproximateMarkPositionsForWindReadOut(getTrackedRace(), new MillisecondsTimePoint(new GregorianCalendar(2011, 05, 23).getTime()));
|
||||
logger.info("Loaded race " + raceId);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user