Skip to content

Fix coordinator/exporter start in tests #1656

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Emantor
Copy link
Member

@Emantor Emantor commented May 10, 2025

Description
Invoke exporter and coordinator like the client in the test, by using python -m instead of relying on a shell script wrapper.

Checklist

  • PR has been tested

Emantor added 2 commits May 10, 2025 13:05
Use the module invocation to start the coordinator instead of the
created wrapper script. This way we ensure that the correct coordinator
from the labgrid module in the current environment is used instead of a
possible wrapper shell script that might invoke a different coordinator.

Signed-off-by: Rouven Czerwinski <[email protected]>
Same as the previous commit, ensure we use the correct labgrid module.

Signed-off-by: Rouven Czerwinski <[email protected]>
@Emantor Emantor force-pushed the fix/coordinator-tests branch from d31563e to d9933b3 Compare May 10, 2025 11:05
Copy link

codecov bot commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.8%. Comparing base (6d8febb) to head (d9933b3).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1656   +/-   ##
======================================
  Coverage    55.8%   55.8%           
======================================
  Files         170     170           
  Lines       13388   13388           
======================================
  Hits         7472    7472           
  Misses       5916    5916           
Flag Coverage Δ
3.10 55.8% <ø> (ø)
3.11 55.8% <ø> (ø)
3.12 55.8% <ø> (ø)
3.13 55.7% <ø> (ø)
3.9 55.8% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@Emantor Emantor requested a review from Bastian-Krause May 13, 2025 13:18
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.

1 participant