Skip to content

Remove parallel fpm invocation from test-assert-subroutine-error-termination #59

@bonachea

Description

@bonachea

The test-assert-subroutine-error-termination currently invokes fpm recursively for testing error termination.

However under multi-image execution, for example if test-assert-subroutine-error-termination is run with 8 images, this will result in concurrent execution of fpm run --example false-assertion. That is fragile because fpm is not safely concurrent with itself and can fail due to file-system collisions. Furthermore, if the multi-image execution is implicit (e.g. controlled by environment variables), then even if fpm succeeds it can result in a quadratic number of executing images (8x8 = 64 concurrent images in the example).

This should be simplified to ensure we never concurrently invoke the same fpm command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions