Refactor some Dash-specific wait_for* functions in tests#3122
Refactor some Dash-specific wait_for* functions in tests#3122UdjinM6 merged 3 commits intodashpay:developfrom
wait_for* functions in tests#3122Conversation
PastaPastaPasta
left a comment
There was a problem hiding this comment.
scripted diff fails
~/workspace/dash$ ./contrib/devtools/commit-script-check.sh develop..HEAD
Running script for: d8b9c6bde97ff09c33126173459296a8c6e759c2
sed -i 's/wait_for_chainlock_tip_all_nodes\(/wait_for_chainlocked_tip_all_nodes\(/g' test/functional/*.py
sed -i 's/wait_for_chainlock_tip\(/wait_for_chainlocked_tip\(/g' test/functional/*.py
sed -i 's/wait_for_chainlock\(/wait_for_chainlocked_block\(/g' test/functional/*.py
sed -i 's/wait_for_chainlock /wait_for_chainlocked_block /g' test/functional/*.py
sed: -e expression #1, char 75: Unmatched ( or \(
sed: -e expression #1, char 55: Unmatched ( or \(
sed: -e expression #1, char 53: Unmatched ( or \(
Ran on Ubuntu 16.04
321f138 to
321fe82
Compare
0424795 to
321fe82
Compare
|
This should be fixed now. On a side note though, it looks like this thing https://github.com/dashpay/dash/blob/develop/ci/build_src.sh#L15 doesn't really work (and I'm not sure why). |
|
@UdjinM6 I assume the Maybe we should do this change in this PR so that we can also properly test it? |
|
Imo it should probably be a seperate PR that this gets rebased on, but I don't care that much. |
PastaPastaPasta
left a comment
There was a problem hiding this comment.
ACK, scripted diff passes, tests pass
|
The issue with |
-BEGIN VERIFY SCRIPT- sed -i 's/wait_for_chainlock_tip_all_nodes(/wait_for_chainlocked_tip_all_nodes(/g' test/functional/*.py sed -i 's/wait_for_chainlock_tip(/wait_for_chainlocked_tip(/g' test/functional/*.py sed -i 's/wait_for_chainlock(/wait_for_chainlocked_block(/g' test/functional/*.py sed -i 's/wait_for_chainlock /wait_for_chainlocked_block /g' test/functional/*.py -END VERIFY SCRIPT-
…of custom timers
ee8fd7c
321fe82 to
ee8fd7c
Compare
PastaPastaPasta
left a comment
There was a problem hiding this comment.
ACK, scripted diff passes as well as tests pass
Refactoring only, should be no changes in behaviour. Ignoring
wait_for_instantlockhere because its behaviour must be changed.