Skip to content

Commit

Permalink
fix(subscribeToVehiclesTest): waitUntil so not flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
KaylaBrady committed Dec 17, 2024
1 parent e715d0f commit 8b36601
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SubscribeToVehiclesTest {
}

waitUntil { connectProps == Pair("route_1", 1) }
assertEquals(listOf(vehicle), vehicles)
waitUntil { listOf(vehicle) == vehicles }

runOnUiThread { stateFilter.value = StopDetailsFilter("route_2", 1) }
waitUntil { connectProps == Pair("route_2", 1) }
Expand Down

0 comments on commit 8b36601

Please sign in to comment.