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

Make sure application exits when Daedalus IPC channel closes #1030

Merged
merged 2 commits into from
Nov 14, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Nov 14, 2019

Issue Number

TBA

Overview

The wallet was failing to exit in time if the DaedalusIPC channel was disconnected during jormungandr's bootstrap phase. This was because it was waiting for bootstrap to complete before exiting.

  • This change makes the wallet exit as soon as the DaedalusIPC channel is closed.

Comments

  • I have undisabled the integration test for DaedalusIPC and added a patch that should hopefully prevent the random test failures due to HPC.

@rvl rvl self-assigned this Nov 14, 2019
@KtorZ
Copy link
Member

KtorZ commented Nov 14, 2019

added a patch that should hopefully prevent the random test failures due to HPC.

:s ... This makes me anxious.

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.

LGTM for the fix. I am slightly worried about re-enabling the IPC integration scenario right now... We've already a sufficiently big pile of issues with integration tests on windows.. :'(

@rvl
Copy link
Contributor Author

rvl commented Nov 14, 2019

Sure, we can leave the test disabled. Or - disable it first time there is the failure. We know what it looks like.

@rvl rvl marked this pull request as ready for review November 14, 2019 13:06
@KtorZ KtorZ marked this pull request as ready for review November 14, 2019 13:14
@KtorZ
Copy link
Member

KtorZ commented Nov 14, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 14, 2019
1030: Make sure application exits when Daedalus IPC channel closes r=KtorZ a=rvl

# Issue Number

TBA

# Overview

The wallet was failing to exit in time if the DaedalusIPC channel was disconnected during jormungandr's bootstrap phase. This was because it was waiting for bootstrap to complete before exiting.

- This change makes the wallet exit as soon as the DaedalusIPC channel is closed.

# Comments

- I have undisabled the integration test for DaedalusIPC and added a patch that should hopefully prevent the random test failures due to HPC.


Co-authored-by: Rodney Lorrimar <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 14, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit f705eaa into master Nov 14, 2019
@rvl rvl deleted the rvl/fix-daedalus-ipc branch November 15, 2019 01:16
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