Skip to content

Failed cucumber tests don't log query #968

@DennisOSRM

Description

@DennisOSRM

@emiltin when a cucumber tests fails, it doesn't log the actual request in fail.log:

== 
Expected: {"from"=>"d", "to"=>"a", "route"=>"abcda"}
Got:      {"from"=>"d", "to"=>"a", "route"=>"xa"}

Attempt: route
Query: 
Response: {"status":0,"status_message": "Found route between points","route_geometry": "qr|{@e{a|@ew@?","route_instructions": [["10","xa",99,0,0,"99m","N",0],["15","",0,1,0,"","N",0.0]],"route_summary":{"total_distance":100,"total_time":38,"start_point":"abcda","end_point":"xa"},"alternative_geometries": [],"alternative_instructions":[],"alternative_summaries":[],"route_name":["","xa"],"alternative_names":[["",""]],"via_points":[[0.998201,1.000899],[0.999100,1.000899]],"via_indices":[0,3],"alternative_indices":[],"hint_data": {"checksum":244126209, "locations": ["BAAAAAsAAAAEAAAAAAAAAGgBAAAAAAAAaAEAAGAAAAAAAAAAAAAAADk7DwDDRQ8AAQAAAAAAAAA", "AQAAAAIAAAABAAAA8AAAAAAAAAAAAAAAAAAAAP____8AAAAAAADwP7w-DwDDRQ8AAAAAAAAAAAA"]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions