DennisOSRM/Project-OSRM — Issue #145: latest commits seems to break a lot of tests?
Author: emiltin
Created: 2012-02-24 13:10:48+00:00
State: open

it seems that the latest commits break a lot of cucumber tests, because no routes are returned.

for example, running "cucumber --tags @smallest" now fails for me:

Marker - Feb 24, 2012 2:03:22 PM
=========================================
Failed scenario: A single way with two nodes
Time: 2012-02-24T14:02:26Z

```xml

```

[Scenario: A single way with two nodes]
accessTag = bicycle
defaultSpeed = 17
obeyOneways = yes
useRestrictions = yes
obeyBollards = no
cycleway = 19
primary = 19
primary_link = 19
secondary = 17
secondary_link = 17
tertiary = 15
residential = 15
unclassified = 15
living_street = 13
road = 13
service = 12
track = 12
path = 12
footway = 10
pedestrian = 5
pier = 5
steps = 3
ferry = 5
excludeFromGrid = ferry

==
Expected: {"from"=>"a", "to"=>"b", "route"=>"ab"}
Got: {"from"=>"a", "to"=>"b", "route"=>""}

Attempt: route
Query: http://localhost:5000/viaroute?start=1.0,1.0&dest=1.0,1.000899199712256&output=json&geomformat=cmp
Response: {"version": 0.3,"status":207,"status_message": "Cannot find route between points","route_summary": {"total_distance":0,"total_time":0,"start_point":"","end_point":""},"route_geometry": "","route_instructions": [],"via_points":[],"route_data": {"checksum":673387005, "hint_array": [-2, -2]},"transactionId": "OSRM Routing Engine JSON Descriptor (v0.3)"}

==
Expected: {"from"=>"b", "to"=>"a", "route"=>"ab"}
Got: {"from"=>"b", "to"=>"a", "route"=>""}

Attempt: route
Query: http://localhost:5000/viaroute?start=1.0,1.000899199712256&dest=1.0,1.0&output=json&geomformat=cmp
Response: {"version": 0.3,"status":207,"status_message": "Cannot find route between points","route_summary": {"total_distance":0,"total_time":0,"start_point":"","end_point":""},"route_geometry": "","route_instructions": [],"via_points":[],"route_data": {"checksum":673387005, "hint_array": [-2, -2]},"transactionId": "OSRM Routing Engine JSON Descriptor (v0.3)"}