Skip to content

Conversation

@MarcelloPerathoner
Copy link
Contributor

@MarcelloPerathoner MarcelloPerathoner commented Dec 22, 2025

Issue

Fixes #7307 - CI runs up from 0:45h to 4:30h

Diagnose: The current version of cucumber creates a "world" for every scenario. We have 1370 scenarios. Each world initializes an environment and a cache. Each cache init reads all osrm binaries and all lua profiles to create an md5 hash to use as cache id. This takes a long time on a server with NAS.

Changes:

  • refactor cucumber to run tests in parallel
  • made env a global, init it only once
  • use package wait-on to wait for osrm-routed ready
  • refactor lots of callbacks into promises and straight intelligible code
  • CI build times are down to 0:25h

TODO: clean up and remove some unrelated stuff

Tasklist

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

@MarcelloPerathoner MarcelloPerathoner changed the title WIP: Speed up cucumber tests WIP: Parallel cucumbers Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI runs up from 0:45h to 4:30h

1 participant