test: Remove or explain syncwithvalidationinterfacequeue #19893

pull MarcoFalke wants to merge 2 commits into bitcoin:master from MarcoFalke:2009-testSync changing 3 files +2 −3
  1. MarcoFalke commented at 12:08 pm on September 6, 2020: member
    syncwithvalidationinterfacequeue is a hidden test-only RPC, so it should not be used when it is not needed. Thus, either remove it or explain why it is needed.
  2. fanquake added the label Tests on Sep 6, 2020
  3. promag commented at 9:41 pm on September 6, 2020: member
    Concept ACK.
  4. DrahtBot commented at 1:50 pm on September 19, 2020: member

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Conflicts

    No conflicts as of last run.

    Coverage

    Coverage Change (pull 19893, 41d7c7c23ed4a7a5c57e9ea156d98978f8814fdd) Reference (master, 49984b44cfcd3fd0)
    Lines -0.0182 % 90.7690 %
    Functions -0.0119 % 86.0909 %
    Branches -0.0010 % 52.0769 %

    Updated at: 2020-10-23T12:07:36.882496.

  5. DrahtBot added the label Needs rebase on Sep 25, 2020
  6. MarcoFalke force-pushed on Sep 25, 2020
  7. DrahtBot removed the label Needs rebase on Sep 25, 2020
  8. MarcoFalke commented at 8:57 am on September 26, 2020: member
    rebased
  9. practicalswift commented at 10:25 am on September 26, 2020: contributor
    Concept ACK
  10. DrahtBot added the label Needs rebase on Oct 8, 2020
  11. Revert "test: Add missing sync_all to wallet_balance test"
    This reverts commit fa815255c70d32809aac640db4a8762c7d71e8db.
    
    The underlying bug has been fixed in commit f77b1de16feee097a88e99d2ecdd4d84beb4f915.
    fa135a13b8
  12. test: Document why syncwithvalidationinterfacequeue is needed in tests fa6af31227
  13. MarcoFalke force-pushed on Oct 8, 2020
  14. DrahtBot removed the label Needs rebase on Oct 8, 2020
  15. laanwj added this to the "Blockers" column in a project

  16. in test/functional/wallet_balance.py:257 in fa6af31227
    253@@ -254,8 +254,6 @@ def test_balances(*, fee_node_1=0):
    254         self.log.info('Put txs back into mempool of node 1 (not node 0)')
    255         self.nodes[0].invalidateblock(block_reorg)
    256         self.nodes[1].invalidateblock(block_reorg)
    257-        self.sync_blocks()
    258-        self.nodes[0].syncwithvalidationinterfacequeue()
    259         assert_equal(self.nodes[0].getbalance(minconf=0), 0)  # wallet txs not in the mempool are untrusted
    


    MarcoFalke commented at 7:45 pm on November 19, 2020:
    note that wallet rpc will internally block if the chain tip changes. see BlockUntilSyncedToCurrentChain
  17. laanwj removed this from the "Blockers" column in a project

  18. fjahr commented at 11:07 am on December 6, 2020: member
    Code review ACK fa6af312277bb1b7e57d9b764d411c5b0873829f
  19. MarcoFalke merged this on Dec 6, 2020
  20. MarcoFalke closed this on Dec 6, 2020

  21. MarcoFalke deleted the branch on Dec 6, 2020
  22. sidhujag referenced this in commit e5c7c60fd6 on Dec 6, 2020
  23. Fabcien referenced this in commit c6dea51b69 on Jan 26, 2022
  24. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me