From d9a68d5eb19d0404f4e8c787758951684f76d92d Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Fri, 17 May 2024 10:42:42 +0200 Subject: [PATCH] Force commit of snapshot in purging code --- .../updater/trip/TimetableSnapshotSourceTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/opentripplanner/updater/trip/TimetableSnapshotSourceTest.java b/src/test/java/org/opentripplanner/updater/trip/TimetableSnapshotSourceTest.java index 95019692c89..f3a1d15dac4 100644 --- a/src/test/java/org/opentripplanner/updater/trip/TimetableSnapshotSourceTest.java +++ b/src/test/java/org/opentripplanner/updater/trip/TimetableSnapshotSourceTest.java @@ -1146,6 +1146,7 @@ public void testPurgeExpiredData( List.of(tripUpdateYesterday), feedId ); + updater.commitTimetableSnapshot(true); final TimetableSnapshot snapshotA = updater.getTimetableSnapshot();