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

cleanup(pam/integration-tests/cli): Do not build the module and pam clients for each test #409

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

3v1n0
Copy link
Collaborator

@3v1n0 3v1n0 commented Jul 2, 2024

Since commit d1a75d8, for the cli tests we call prepareClientTest() for each test in order to get the client folder, however this also implies building the test client, the module and the exec client for each test even though this is not needed, since we can share those binaries.

So just call this once in the main test.

Ideally this should make CI a little quicker.

UDENG-3506

…r each test

Since commit d1a75d8, for the cli tests we call prepareClientTest() for
each test in order to get the client folder, however this also implies
building the test client, the module and the exec client for each test
even though this is not needed, since we can share those binaries.

So just call this once in the main test.
@3v1n0 3v1n0 requested a review from denisonbarbosa July 2, 2024 19:24
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.48%. Comparing base (d3d60d3) to head (4d26596).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #409      +/-   ##
==========================================
+ Coverage   84.39%   84.48%   +0.08%     
==========================================
  Files          77       77              
  Lines        6691     6691              
  Branches       75       75              
==========================================
+ Hits         5647     5653       +6     
+ Misses        732      728       -4     
+ Partials      312      310       -2     

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

Copy link
Member

@denisonbarbosa denisonbarbosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple and effective. Nice!

@3v1n0 3v1n0 requested a review from didrocks July 3, 2024 06:16
Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not have any side-effects

@3v1n0 3v1n0 merged commit d000437 into ubuntu:main Jul 3, 2024
5 checks passed
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.

None yet

4 participants