Skip to content

Commit

Permalink
Initialize before adding any data
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 14, 2025
1 parent 1bcdf11 commit 96a0fcc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ public static void main(String[] args) {
var timetableRepository = model.timetableRepository();
var buildConfig = model.buildConfig();

var timer = new SpeedTestTimer();
timer.setUp(false);

// Creating transitLayerForRaptor should be integrated into the TimetableRepository, but for now
// we do it manually here
creatTransitLayerForRaptor(timetableRepository, config.transitRoutingParams);

assertTestDateHasData(timetableRepository, config, buildConfig);

var timer = new SpeedTestTimer();

measureTransferCacheComputation(timer, timetableRepository);

timer.setUp(false);
timer.finishUp();
} catch (OtpAppException ae) {
System.err.println(ae.getMessage());
Expand Down

0 comments on commit 96a0fcc

Please sign in to comment.