opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.18k stars 1.02k forks source link

Fix failing tests on Hudson #104

Closed novalis closed 13 years ago

novalis commented 13 years ago

As of r373 dozens of tests started failing on Hudson with {{{NoSuchMethodError}}}s, even though they pass locally:

{{{ java.lang.NoSuchMethodError: org.opentripplanner.routing.spt.SPTVertex.setParent(Lorg/opentripplanner/routing/spt/SPTVertex;Lorg/opentripplanner/routing/core/Edge;)V at org.opentripplanner.routing.algorithm.AStar.getShortestPathTree(AStar.java:341) at org.opentripplanner.routing.TestHalfEdges.testHalfEdges(TestHalfEdges.java:113) }}}

novalis commented 13 years ago

Fixed. Somehow Hudson was running old code, even when running new builds. I logged into the Hudson server, switched to the hudson user and fixed the issue by running {{{mvn clean}}} in {{{/var/lib/hudson/jobs/OpenTripPlanner/workspace/trunk}}}.

--nicholasbs