mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-21 03:30:12 +00:00
Fixed race condition in unit test
This commit is contained in:
1 parent
379122b363
commit
4108c2ec8d
1 file changed
+2
+2
@@ -756,6 +756,8 @@ public class SensorFixStoreAndLoadTest {
|
||||
device, new MillisecondsTimePoint(START_OF_TRACKING), new MillisecondsTimePoint(END_OF_TRACKING)));
|
||||
addBravoFixes();
|
||||
FixLoaderAndTracker fixLoaderAndTracker = createFixLoaderAndTracker();
|
||||
// creating a new RaceLog instance to ensure that startOfTracking insn't set initially
|
||||
raceLog = new RaceLogImpl("racelog");
|
||||
trackedRace.attachRaceLog(raceLog);
|
||||
trackedRace.attachRegattaLog(regattaLog);
|
||||
testNumberOfRawFixes(trackedRace.getSensorTrack(comp, BravoFixTrack.TRACK_NAME), 0);
|
||||
|
||||
Reference in new issue
Block a user