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

fix: ACNA-1026 - aio app test is failing on EBADF bad file descriptor (Windows only) #415

Merged
merged 4 commits into from
Jun 28, 2021

Conversation

shazron
Copy link
Member

@shazron shazron commented Jun 24, 2021

Fixes #372
Note that because of this fix, killing of aio-run-detached processes will not work on Windows, until this node bug is fixed.

How Has This Been Tested?

npm test

  • test on Windows
  • test on Linux
  • test on macOS

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@shazron shazron changed the title Acna 1026 fix: ACNA-1026 - aio app test is failing on EBADF bad file descriptor (Windows only) Jun 24, 2021
@codecov
Copy link

codecov bot commented Jun 24, 2021

Codecov Report

Merging #415 (5b2f883) into master (e7b1749) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #415   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           39        39           
  Lines         1693      1698    +5     
  Branches       284       286    +2     
=========================================
+ Hits          1693      1698    +5     
Impacted Files Coverage Δ
src/lib/app-helper.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7b1749...5b2f883. Read the comment docs.

Copy link
Member

@purplecabbage purplecabbage left a comment

Choose a reason for hiding this comment

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

Does it make sense to just add the child.on("message" regardless of isWindows, and just let it never fire?

@shazron
Copy link
Member Author

shazron commented Jun 28, 2021

Does it make sense to just add the child.on("message" regardless of isWindows, and just let it never fire?

actually it is conditional, I pushed an update probably while you were reviewing: 5b2f883

@shazron shazron merged commit a7833aa into master Jun 28, 2021
@shazron shazron deleted the ACNA-1026 branch June 28, 2021 08:38
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.

aio app test is failing on EBADF bad file descriptor (Windows only)
2 participants