-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitcoind backend: assign port at start time, not init.
I found a similar race in our core-lightning CI: when a node restarts, there's a race where another node could start on the same port. In this case, we catch the exception, which was covering up the failure. The test then talks to the wrong bitcoind, which has unpredictable results. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
9dc7097
commit cc020d4
Showing
2 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters