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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Prevent warnings/errors when running meltano config <plugin> test #6676

Merged

Conversation

ReubenFrankel
Copy link
Contributor

@ReubenFrankel ReubenFrankel commented Aug 26, 2022

Resolves #6632 by waiting for subprocess to exit after terminating given a RECORD message received, instead of immediately returning from the method. Includes some other minor related fixes, since I was in the area. 馃槃

Before fix

Python 3.7
image

Python 3.9
image

After fix

Python 3.7
image

Python 3.9
image


Checklist

  • Implement fix
  • Add/update tests

@netlify
Copy link

netlify bot commented Aug 26, 2022

馃懛 Deploy request for meltano pending review.

Visit the deploys page to approve it

Name Link
馃敤 Latest commit 46878e6

@codecov
Copy link

codecov bot commented Aug 26, 2022

Codecov Report

Merging #6676 (46878e6) into main (b4fa948) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #6676   +/-   ##
=======================================
  Coverage   82.91%   82.91%           
=======================================
  Files         178      178           
  Lines       11360    11360           
  Branches     1553     1553           
=======================================
  Hits         9419     9419           
  Misses       1675     1675           
  Partials      266      266           
Impacted Files Coverage 螖
src/meltano/core/plugin_invoker.py 95.58% <100.00%> (酶)
src/meltano/core/plugin_test_service.py 97.82% <100.00%> (酶)

馃摚 We鈥檙e building smart automated test selection to slash your CI/CD build times. Learn more

@ReubenFrankel
Copy link
Contributor Author

ReubenFrankel commented Aug 26, 2022

Linter was complaining about docstrings in plugin_test_service.py, so I fixed them in 6ad4c8f. Feel free to change.

@edgarrmondragon
Copy link
Collaborator

@ReubenFrankel lgtm! thanks for taking the time to add docstrings and fix the type annotations.

I'll request review from other folks in the team in case I missed anything.

Copy link
Member

@WillDaSilva WillDaSilva left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks @ReubenFrankel!

@edgarrmondragon edgarrmondragon merged commit 9bed498 into meltano:main Aug 30, 2022
@ReubenFrankel ReubenFrankel deleted the 6632-config-test-asyncio-fix branch August 30, 2022 22:56
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.

bug: Test connector - asyncio
3 participants