Skip to content

Conversation

@jnewbery
Copy link
Contributor

@jnewbery jnewbery commented May 9, 2018

Since 265d7c4, when wait_until() fails,
an error message is logged to the test framework log. This means that if
wait_until() is called inside a try-except with the expectation that it
will fail, a spurious error message is logged.

wait_until() shouldn't be called with the expectation of failure. Fix
that in p2p_segwit.py.

Since 265d7c4, when wait_until() fails,
an error message is logged to the test framework log. This means that if
wait_until() is called inside a try-except with the expectation that it
will fail, a spurious error message is logged.

wait_until() shouldn't be called with the expectation of failure. Fix
that in p2p_segwit.py.
@jnewbery
Copy link
Contributor Author

jnewbery commented May 9, 2018

cc @sdaftuar

@maflcko
Copy link
Member

maflcko commented May 9, 2018

utACK 7384a35

@maflcko maflcko added the Tests label May 9, 2018
@laanwj
Copy link
Member

laanwj commented May 14, 2018

utACK 7384a35

@laanwj laanwj merged commit 7384a35 into bitcoin:master May 14, 2018
laanwj added a commit that referenced this pull request May 14, 2018
7384a35 [tests] Remove spurious error log in p2p_segwit.py (John Newbery)

Pull request description:

  Since 265d7c4, when wait_until() fails,
  an error message is logged to the test framework log. This means that if
  wait_until() is called inside a try-except with the expectation that it
  will fail, a spurious error message is logged.

  wait_until() shouldn't be called with the expectation of failure. Fix
  that in p2p_segwit.py.

Tree-SHA512: 0a43790b58fee7d2d6bef36e736b0b9ffdde6de5f12d33d15e8e07323597e2be4cd98f17e7fc3a135e06bdafe36613466c0a57e81134e59a251383c62b91918f
@jnewbery jnewbery deleted the p2p_segwit_remove_spurious_error_log branch May 14, 2018 13:39
TheArbitrator pushed a commit to TheArbitrator/dash that referenced this pull request Jun 9, 2021
7384a35 [tests] Remove spurious error log in p2p_segwit.py (John Newbery)

Pull request description:

  Since 265d7c4, when wait_until() fails,
  an error message is logged to the test framework log. This means that if
  wait_until() is called inside a try-except with the expectation that it
  will fail, a spurious error message is logged.

  wait_until() shouldn't be called with the expectation of failure. Fix
  that in p2p_segwit.py.

Tree-SHA512: 0a43790b58fee7d2d6bef36e736b0b9ffdde6de5f12d33d15e8e07323597e2be4cd98f17e7fc3a135e06bdafe36613466c0a57e81134e59a251383c62b91918f
@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.

3 participants