Skip to content

osrm-datastore on macOS and win do not wait for clients to switch #7320

@MarcelloPerathoner

Description

@MarcelloPerathoner

Issue

osrm-datastore on macOS and Windows does not wait for other processes to detach from shared
memory before exiting. Instead it sleeps for 50ms and then boldly announces: 'All clients switched.'

Symptoms:

  • Cucumber tests fail randomly because queries are executed against old data when 50ms were not enough for clients to switch
  • Cucumber tests do not run as fast as they could run when 50ms is plenty to switch

Steps to reproduce

This happens with the new Parallel Cucumbers PR #7309

Specifications

Please provide details of your development environment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions