Skip to content

Conversation

jamesob
Copy link
Contributor

@jamesob jamesob commented Jul 12, 2018

As noted in https://github.com/bitcoin/bitcoin/pull/13570/files#r201715904, the rpc_zmq functional test should be skipped when the zmq python3 package is not installed. This is breaking https://bitcoinperf.com benchmarks at the moment.

@@ -17,6 +17,11 @@ def set_test_params(self):
self.setup_clean_chain = True

def run_test(self):
try:
import zmq
Copy link
Member

Choose a reason for hiding this comment

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

I believe it should see if zmq is compiled into bitcoind (see the test config file)

@maflcko maflcko added this to the 0.17.0 milestone Jul 12, 2018
@maflcko
Copy link
Member

maflcko commented Jul 12, 2018

Thanks, Concept ACK

@DrahtBot
Copy link
Contributor

Note to reviewers: This pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@jamesob jamesob force-pushed the 2018-07-skip-zmq-tests branch from 49ea566 to 549f6dc Compare July 12, 2018 17:01
@jamesob
Copy link
Contributor Author

jamesob commented Jul 12, 2018

@MarcoFalke thanks for the look. I've pushed an updated version which addresses your feedback and does a minor cleanup.

@jamesob jamesob force-pushed the 2018-07-skip-zmq-tests branch 2 times, most recently from 361423f to e24abca Compare July 12, 2018 17:07
Also refactors zmq-related test skipping logic into distinct functions.
@jamesob jamesob force-pushed the 2018-07-skip-zmq-tests branch from e24abca to a0b604c Compare July 12, 2018 17:08
@AtsukiTak
Copy link
Contributor

ACK
Tested in my macOS High Sierra 10.13 environment.

@promag
Copy link
Contributor

promag commented Jul 13, 2018

I prefer this over #13646.

@maflcko
Copy link
Member

maflcko commented Jul 13, 2018

utACK a0b604c

@maflcko maflcko merged commit a0b604c into bitcoin:master Jul 13, 2018
maflcko pushed a commit that referenced this pull request Jul 13, 2018
a0b604c [tests] skip rpc_zmq functional test when python3 zmq lib is not present (James O'Beirne)

Pull request description:

  As noted in https://github.com/bitcoin/bitcoin/pull/13570/files#r201715904, the `rpc_zmq` functional test should be skipped when the `zmq` python3 package is not installed. This is breaking https://bitcoinperf.com benchmarks at the moment.

Tree-SHA512: ab519ae717f4b7a282640cf0389651723fdc108990aeb9852e8b9e96d61fa1ded2461717ae31558b37ff8401a5b1ccc41f4e858e402b8c3d98563d962599767a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 16, 2020
a0b604c [tests] skip rpc_zmq functional test when python3 zmq lib is not present (James O'Beirne)

Pull request description:

  As noted in https://github.com/bitcoin/bitcoin/pull/13570/files#r201715904, the `rpc_zmq` functional test should be skipped when the `zmq` python3 package is not installed. This is breaking https://bitcoinperf.com benchmarks at the moment.

Tree-SHA512: ab519ae717f4b7a282640cf0389651723fdc108990aeb9852e8b9e96d61fa1ded2461717ae31558b37ff8401a5b1ccc41f4e858e402b8c3d98563d962599767a
xdustinface added a commit to xdustinface/dash that referenced this pull request Dec 18, 2020
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 18, 2020
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 18, 2020
a0b604c [tests] skip rpc_zmq functional test when python3 zmq lib is not present (James O'Beirne)

Pull request description:

  As noted in https://github.com/bitcoin/bitcoin/pull/13570/files#r201715904, the `rpc_zmq` functional test should be skipped when the `zmq` python3 package is not installed. This is breaking https://bitcoinperf.com benchmarks at the moment.

Tree-SHA512: ab519ae717f4b7a282640cf0389651723fdc108990aeb9852e8b9e96d61fa1ded2461717ae31558b37ff8401a5b1ccc41f4e858e402b8c3d98563d962599767a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 18, 2020
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 18, 2020
a0b604c [tests] skip rpc_zmq functional test when python3 zmq lib is not present (James O'Beirne)

Pull request description:

  As noted in https://github.com/bitcoin/bitcoin/pull/13570/files#r201715904, the `rpc_zmq` functional test should be skipped when the `zmq` python3 package is not installed. This is breaking https://bitcoinperf.com benchmarks at the moment.

Tree-SHA512: ab519ae717f4b7a282640cf0389651723fdc108990aeb9852e8b9e96d61fa1ded2461717ae31558b37ff8401a5b1ccc41f4e858e402b8c3d98563d962599767a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 18, 2020
@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