osrm-backend/features/stress/launch.feature

59 lines
1.3 KiB
Gherkin
Raw Normal View History

2012-12-16 07:36:47 -05:00
@stress
2012-12-16 07:39:28 -05:00
Feature: Stress testing
Background:
2012-12-16 07:36:47 -05:00
Given the profile "testbot"
2012-12-16 07:39:28 -05:00
Scenario: Stress - 10km star, request 1 route
2012-12-16 07:36:47 -05:00
#osrm-routed hangs very often
Given a grid size of 10000 meters
Given the node map
| h | a | b |
| g | x | c |
| f | e | d |
And the ways
| nodes | highway |
| xa | primary |
| xb | primary |
| xc | primary |
| xd | primary |
| xe | primary |
| xf | primary |
| xg | primary |
| xh | primary |
When I route 100 times I should get
| from | to | route |
| x | h | xh |
2012-12-16 07:39:28 -05:00
Scenario: Stress - 10km star, request 8 routes
2012-12-16 07:36:47 -05:00
#osrm-routed hangs sometimes
Given a grid size of 10000 meters
Given the node map
| h | a | b |
| g | x | c |
| f | e | d |
And the ways
| nodes | highway |
| xa | primary |
| xb | primary |
| xc | primary |
| xd | primary |
| xe | primary |
| xf | primary |
| xg | primary |
| xh | primary |
When I route 100 times I should get
| from | to | route |
| x | a | xa |
| x | b | xb |
| x | c | xc |
| x | d | xd |
| x | e | xe |
| x | f | xf |
| x | g | xg |
2012-12-16 07:36:47 -05:00
| x | h | xh |