removing caching from edge weight update test, so it runs fresh each time

This commit is contained in:
karenzshea 2016-09-29 17:01:52 -04:00 committed by Karen Shea
parent a824e64682
commit 54aaf574d9

View File

@ -2,8 +2,6 @@
Feature: osrm-contract command line option: edge-weight-updates-over-factor Feature: osrm-contract command line option: edge-weight-updates-over-factor
Background: Log edge weight updates over given factor Background: Log edge weight updates over given factor
Scenario: Logging weight with updates over factor of 2, long segment
Given the node locations Given the node locations
| node | lat | lon | | node | lat | lon |
| a | 0.1 | 0.1 | | a | 0.1 | 0.1 |
@ -14,13 +12,15 @@ Feature: osrm-contract command line option: edge-weight-updates-over-factor
| ab | residential | | ab | residential |
| ac | primary | | ac | primary |
Given the profile "testbot" Given the profile "testbot"
Given the extract extra arguments "--generate-edge-lookup"
Given the speed file Given the speed file
""" """
1,2,100 1,2,100
1,3,100 1,3,100
""" """
And the data has been extracted And the data has been saved to disk
Scenario: Logging weight with updates over factor of 2, long segment
When I run "osrm-extract --profile {profile_file} {osm_file} --generate-edge-lookup"
When I run "osrm-contract --edge-weight-updates-over-factor 2 --segment-speed-file {speeds_file} {processed_file}" When I run "osrm-contract --edge-weight-updates-over-factor 2 --segment-speed-file {speeds_file} {processed_file}"
And stderr should contain "weight updates" And stderr should contain "weight updates"
And stderr should contain "New speed: 100 kph" And stderr should contain "New speed: 100 kph"