Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port sequential executor tests to parallel executor #31

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Aug 11, 2023

This is a copy/paste of the sequential executor tests from colcon-core with appropriate modifications to accomodate the parallel executor. Not perfect test coverage, but better than nothing.

Also enable codecov on this repository to track the coverage.

@cottsay cottsay added the enhancement New feature or request label Aug 11, 2023
@cottsay cottsay self-assigned this Aug 11, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@c21960f). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #31   +/-   ##
=========================================
  Coverage          ?   80.15%           
=========================================
  Files             ?        2           
  Lines             ?      131           
  Branches          ?       40           
=========================================
  Hits              ?      105           
  Misses            ?       16           
  Partials          ?       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This is a copy/paste of the sequential executor tests from colcon-core
with appropriate modifications to accomodate the parallel executor. Not
perfect test coverage, but better than nothing.

This change comes at the cost of suppressing ResourceWarnings. There is
a problem somewhere in colcon-core's orchestration that sometimes causes
a leaked socket. When the problem is fixed in colcon-core, we should be
able to drop the suppression here too.

Also enable codecov on this repository to track the coverage.
@cottsay cottsay merged commit 32ef9ac into master Aug 28, 2023
17 checks passed
@delete-merged-branch delete-merged-branch bot deleted the cottsay/executor-test branch August 28, 2023 22:15
@cottsay cottsay added this to the 0.2.5 milestone Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants