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 missing test data in windows testing bundle #1231

Merged
merged 3 commits into from
Dec 27, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Dec 27, 2019

Relates to #1228.

Overview

  • Adds mock-daedalus.js to the windows testing bundle so that the DaedalusIPC tests can run.
  • Fixes a failing DaedalusIPC test case.
  • Makes mock-daedalus.js use child_process.disconnect() rather than exiting and leaving behind stray processes on windows.

Comments

Latest build

@rvl rvl self-assigned this Dec 27, 2019
There was a sticky package interdependency that meant that isPortOpen
needed to be copy&pasted into two packages. One of the copies missed a
bug fix. Since the package interdependency is no longer there, delete
the broken copy.
@rvl rvl force-pushed the rvl/1228/windows-test-data branch from 2dea92e to c9ae233 Compare December 27, 2019 05:40
This disconnects child_process nicely so that nodejs will not kill
cardano-wallet-jormungandr.

Daedalus does the same thing.
Copy link
Member

@KtorZ KtorZ left a comment

Choose a reason for hiding this comment

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

Nice catch

@KtorZ
Copy link
Member

KtorZ commented Dec 27, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Dec 27, 2019
1231: Fix missing test data in windows testing bundle r=KtorZ a=rvl

Relates to #1228.

# Overview

- Adds `mock-daedalus.js` to the windows testing bundle so that the DaedalusIPC tests can run.
- Fixes a failing DaedalusIPC test case.
- Makes `mock-daedalus.js` use `child_process.disconnect()` rather than exiting and leaving behind stray processes on windows.

# Comments

[Latest build](https://hydra.iohk.io/job/Cardano/cardano-wallet-pr-1231/cardano-wallet-jormungandr-tests-win64)


Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 27, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit 532c2ef into master Dec 27, 2019
@rvl rvl deleted the rvl/1228/windows-test-data branch December 27, 2019 09:59
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.

2 participants