Skip to content

Commit 774c0c0

Browse files
AhmedVargosgithub-actions[bot]
authored andcommitted
NAVAND-7066 Skip failing Native Reroute tests to unblock pipeline (#13213)
GitOrigin-RevId: 2fc356974dde03749cf624e3809d40d684cf503c
1 parent e9f564e commit 774c0c0

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • instrumentation-tests/src/androidTest/java/com/mapbox/navigation/instrumentation_tests/core

instrumentation-tests/src/androidTest/java/com/mapbox/navigation/instrumentation_tests/core/CoreRerouteTest.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@ class CoreRerouteTest(
454454
*/
455455
@Test(timeout = 10_000)
456456
fun reroute_is_not_cancelled_when_alternatives_change() = sdkTest {
457+
// Skip the Native Reroute version for this test
458+
// https://mapbox.atlassian.net/browse/NAVAND-7066
459+
if (runOptions.nativeReroute) return@sdkTest
457460
// setting to 2s as NN router's default timeout at the time of creating the test is 5s
458461
val rerouteResponseDelay = 2_000L
459462
// delay before setting alternatives
@@ -532,6 +535,10 @@ class CoreRerouteTest(
532535
*/
533536
@Test(timeout = 10_000)
534537
fun reroute_is_not_cancelled_when_route_refreshed() = sdkTest {
538+
// Skip the Native Reroute version for this test
539+
// https://mapbox.atlassian.net/browse/NAVAND-7066
540+
if (runOptions.nativeReroute) return@sdkTest
541+
535542
// setting to 2s as NN router's default timeout at the time of creating the test is 5s
536543
val rerouteResponseDelay = 2_000L
537544
// setting to 1s to be less than reroute response delay
@@ -1350,6 +1357,9 @@ class CoreRerouteTest(
13501357
*/
13511358
@Test
13521359
fun replan_interrupts_ongoing_reroute_request() = sdkTest {
1360+
// Skip the Native Reroute version for this test
1361+
// https://mapbox.atlassian.net/browse/NAVAND-7066
1362+
if (runOptions.nativeReroute) return@sdkTest
13531363
// Setting to 4s to ensure reroute is in progress when replan is called
13541364
val rerouteResponseDelay = 4_000L
13551365
// Delay before calling replan to ensure first reroute has started

0 commit comments

Comments
 (0)