From dc27a0751f755a4957cd2fdd27c45935508f5b1d Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Tue, 11 Oct 2022 23:35:42 +0200 Subject: [PATCH] Always use original weights when handling --parse-conditionals-from-now --- features/car/conditional_restrictions.feature | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/features/car/conditional_restrictions.feature b/features/car/conditional_restrictions.feature index deb5178f0..de547cbf6 100644 --- a/features/car/conditional_restrictions.feature +++ b/features/car/conditional_restrictions.feature @@ -364,6 +364,16 @@ Feature: Car - Turn restrictions | b | a | bj,aj,aj | | b | d | bj,jd,jd | + # 10am utc, wed + When I run "osrm-contract {osm_file} --time-zone-file=test/data/tz/{timezone_names}/guinea.geojson --parse-conditionals-from-now=1493805600" + When I run "osrm-customize {osm_file} --time-zone-file=test/data/tz/{timezone_names}/guinea.geojson --parse-conditionals-from-now=1493805600" + + When I route I should get + | from | to | route | + | b | c | bj,jc,jc | + | b | a | bj,jc,jc,aj,aj | + | b | d | bj,jd,jd | + @no_turning @conditionals Scenario: Car - Conditional restriction with multiple time windows