Skip to content

Conversation

romanz
Copy link
Contributor

@romanz romanz commented Mar 28, 2018

self.wait_util_stopped() should be self.wait_until_stopped().

Also, use a specific Exception subclass for indicating node failure to start (instead of using AssetionError and an except Exception clause).

Following https://travis-ci.org/bitcoin/bitcoin/jobs/359066226#L2726 and depending on #12806 (which fixes the root cause of the Travis test failure).

@fanquake fanquake added the Tests label Mar 28, 2018
@romanz romanz force-pushed the fix-blocksdir-test branch 3 times, most recently from a8bfdd3 to 4911c65 Compare March 28, 2018 07:25
@romanz romanz changed the title [Tests] Fix a typo at assert_start_raises_init_error() and update its invocation [Tests] Fix a typo at assert_start_raises_init_error() Mar 28, 2018
Copy link
Contributor

@randolf randolf left a comment

Choose a reason for hiding this comment

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

It appears that you're changing a lot more than just typing errors here. Please update the description of this Pull Request to explain the changes. Thanks.

@romanz
Copy link
Contributor Author

romanz commented Mar 28, 2018

Please update the description of this Pull Request to explain the changes.

Done.

@jnewbery
Copy link
Contributor

Nice change! Please rebase on master now that #12806 is merged, and update the PR title.

Also, use specific exception for testing TestNode initialization failure.
@romanz romanz force-pushed the fix-blocksdir-test branch from 4911c65 to 8394300 Compare March 28, 2018 15:18
@romanz romanz changed the title [Tests] Fix a typo at assert_start_raises_init_error() [Tests] Fix a typo at assert_start_raises_init_error() and use specific exception for initialization error Mar 28, 2018
@maflcko
Copy link
Member

maflcko commented Mar 28, 2018

utACK 8394300

@jnewbery
Copy link
Contributor

Tested ACK 8394300

@maflcko maflcko merged commit 8394300 into bitcoin:master Mar 30, 2018
maflcko pushed a commit that referenced this pull request Mar 30, 2018
…and use specific exception for initialization error

8394300 [Tests] fix a typo in TestNode.assert_start_raises_init_error() (Roman Zeyde)

Pull request description:

  `self.wait_util_stopped()` should be `self.wait_until_stopped()`.

  Also, use a specific Exception subclass for indicating node failure to start (instead of using `AssetionError` and an `except Exception` clause).

  Following https://travis-ci.org/bitcoin/bitcoin/jobs/359066226#L2726 and depending on #12806 (which fixes the root cause of the Travis test failure).

Tree-SHA512: 7bd5a95586a412472ef9dffdb086789d7275ddaf862724e21cebb3418d0c97e6d89b4d1a58375e42114060d028403d6eab89e3a1e9a833ffe8dadf3439ab1fe2
@romanz romanz deleted the fix-blocksdir-test branch April 8, 2018 14:23
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Sep 27, 2020
…rror() and use specific exception for initialization error

8394300 [Tests] fix a typo in TestNode.assert_start_raises_init_error() (Roman Zeyde)

Pull request description:

  `self.wait_util_stopped()` should be `self.wait_until_stopped()`.

  Also, use a specific Exception subclass for indicating node failure to start (instead of using `AssetionError` and an `except Exception` clause).

  Following https://travis-ci.org/bitcoin/bitcoin/jobs/359066226#L2726 and depending on bitcoin#12806 (which fixes the root cause of the Travis test failure).

Tree-SHA512: 7bd5a95586a412472ef9dffdb086789d7275ddaf862724e21cebb3418d0c97e6d89b4d1a58375e42114060d028403d6eab89e3a1e9a833ffe8dadf3439ab1fe2
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 22, 2020
…rror() and use specific exception for initialization error

8394300 [Tests] fix a typo in TestNode.assert_start_raises_init_error() (Roman Zeyde)

Pull request description:

  `self.wait_util_stopped()` should be `self.wait_until_stopped()`.

  Also, use a specific Exception subclass for indicating node failure to start (instead of using `AssetionError` and an `except Exception` clause).

  Following https://travis-ci.org/bitcoin/bitcoin/jobs/359066226#L2726 and depending on bitcoin#12806 (which fixes the root cause of the Travis test failure).

Tree-SHA512: 7bd5a95586a412472ef9dffdb086789d7275ddaf862724e21cebb3418d0c97e6d89b4d1a58375e42114060d028403d6eab89e3a1e9a833ffe8dadf3439ab1fe2
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 27, 2020
…rror() and use specific exception for initialization error

8394300 [Tests] fix a typo in TestNode.assert_start_raises_init_error() (Roman Zeyde)

Pull request description:

  `self.wait_util_stopped()` should be `self.wait_until_stopped()`.

  Also, use a specific Exception subclass for indicating node failure to start (instead of using `AssetionError` and an `except Exception` clause).

  Following https://travis-ci.org/bitcoin/bitcoin/jobs/359066226#L2726 and depending on bitcoin#12806 (which fixes the root cause of the Travis test failure).

Tree-SHA512: 7bd5a95586a412472ef9dffdb086789d7275ddaf862724e21cebb3418d0c97e6d89b4d1a58375e42114060d028403d6eab89e3a1e9a833ffe8dadf3439ab1fe2
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants