qa: Test shared validation interface #18471

pull promag wants to merge 2 commits into bitcoin:master from promag:2020-03-test-shared-validation-interface changing 2 files +65 −2
  1. promag commented at 4:40 pm on March 30, 2020: member

    Based on #18338, only last commit matters. Quoting the test description:

    0// Test UnregisterSharedValidationInterface ensuring that if interface is
    1// unregistered during the middle of a callback, interface is destroyed as soon
    2// as callback returns.
    

    All credits to ryanofsky.

  2. promag commented at 4:42 pm on March 30, 2020: member
    Initially this was in #18338, decided to push a new PR because some travis job hanged.
  3. DrahtBot added the label GUI on Mar 30, 2020
  4. DrahtBot added the label Tests on Mar 30, 2020
  5. DrahtBot added the label Validation on Mar 30, 2020
  6. DrahtBot added the label Wallet on Mar 30, 2020
  7. DrahtBot commented at 6:34 pm on March 30, 2020: member

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

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #18780 (validation: add const for minimum witness commitment size by fanquake)

    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.

  8. ryanofsky referenced this in commit ba8312c7dc on Apr 4, 2020
  9. ryanofsky referenced this in commit ad067a98ea on Apr 4, 2020
  10. ryanofsky referenced this in commit 01639a21d1 on Apr 4, 2020
  11. ryanofsky referenced this in commit 3d463addfe on Apr 4, 2020
  12. ryanofsky referenced this in commit b5fea244e5 on Apr 5, 2020
  13. ryanofsky referenced this in commit c3a471604b on Apr 6, 2020
  14. ryanofsky referenced this in commit 96176004a3 on Apr 6, 2020
  15. ryanofsky referenced this in commit d6815a2313 on Apr 6, 2020
  16. laanwj referenced this in commit fdeb445a34 on Apr 6, 2020
  17. ryanofsky commented at 3:34 pm on April 6, 2020: member
    I think #18524 (now merged) might fix the xenial test hang: https://travis-ci.org/github/bitcoin/bitcoin/jobs/668847707
  18. MarcoFalke closed this on Apr 6, 2020

  19. MarcoFalke reopened this on Apr 6, 2020

  20. MarcoFalke removed the label GUI on Apr 6, 2020
  21. Do not clear validationinterface entries being executed
    The previous code for MainSignalsInstance::Clear would decrement the reference
    count of every interface, including ones that were already Unregister()ed but
    still being executed.
    c182fd517d
  22. Add RegisterSharedValidationInterface test c976165cdf
  23. promag force-pushed on Apr 7, 2020
  24. promag commented at 9:44 am on April 7, 2020: member

    Now based on #18551, applied the following change to the test to account for @sipa fix (this now fails in master):

    0@@ -397,6 +397,7 @@ BOOST_AUTO_TEST_CASE(release_shared)
    1     BOOST_CHECK(!test_interface);
    2     BOOST_CHECK_EQUAL(state, CALLED);
    3     state = UNREGISTERED;
    4+    UnregisterAllValidationInterfaces();
    5     unregistered.set_value(true);
    6     BOOST_CHECK(destroyed.get_future().get());
    7     BOOST_CHECK_EQUAL(state, DESTROYED);
    
  25. promag commented at 11:33 am on April 7, 2020: member
    appveyor failed with OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted, restarted.
  26. promag commented at 12:13 pm on April 7, 2020: member
    Please set milestone 0.20
  27. sidhujag referenced this in commit 9e2b04c4ed on Apr 8, 2020
  28. glozow referenced this in commit 4542d48e6d on Apr 10, 2020
  29. HashUnlimited referenced this in commit b67fc6bde0 on Apr 17, 2020
  30. MarcoFalke added the label Needs rebase on Apr 27, 2020
  31. MarcoFalke added the label Waiting for author on Apr 27, 2020
  32. DrahtBot removed the label Needs rebase on Apr 27, 2020
  33. MarcoFalke removed the label Validation on Apr 29, 2020
  34. MarcoFalke removed the label Waiting for author on Apr 29, 2020
  35. MarcoFalke removed the label Wallet on Apr 29, 2020
  36. MarcoFalke added the label Waiting for author on Apr 29, 2020
  37. DrahtBot added the label Needs rebase on Apr 30, 2020
  38. DrahtBot commented at 2:03 pm on April 30, 2020: member

    🐙 This pull request conflicts with the target branch and needs rebase.

  39. deadalnix referenced this in commit 27fc048869 on Jun 20, 2020
  40. metalicjames referenced this in commit 09af10dec5 on Aug 5, 2020
  41. janus referenced this in commit 400926d149 on Nov 5, 2020
  42. backpacker69 referenced this in commit 23b252ddaf on Mar 28, 2021
  43. fanquake commented at 6:26 am on April 8, 2021: member
    @promag are you still interested in working on / making this change?
  44. MarcoFalke removed the label Waiting for author on Apr 8, 2021
  45. DrahtBot commented at 11:22 am on December 15, 2021: member
    • Is it still relevant? ➡️ Please solve the conflicts to make it ready for review and to ensure the CI passes.
    • Is it no longer relevant? ➡️ Please close.
    • Did the author lose interest or time to work on this? ➡️ Please close it and mark it ‘Up for grabs’ with the label, so that it can be picked up in the future.
  46. DrahtBot commented at 1:07 pm on March 21, 2022: member
    • Is it still relevant? ➡️ Please solve the conflicts to make it ready for review and to ensure the CI passes.
    • Is it no longer relevant? ➡️ Please close.
    • Did the author lose interest or time to work on this? ➡️ Please close it and mark it ‘Up for grabs’ with the label, so that it can be picked up in the future.
  47. MarcoFalke added the label Up for grabs on Mar 21, 2022
  48. vijaydasmp referenced this in commit ad85246dda on Apr 5, 2022
  49. fanquake closed this on Apr 26, 2022

  50. vijaydasmp referenced this in commit bff629c6fb on May 19, 2022
  51. vijaydasmp referenced this in commit c6add94995 on May 26, 2022
  52. vijaydasmp referenced this in commit 5cdbd3090e on Jun 14, 2022
  53. vijaydasmp referenced this in commit 5a3418e1fc on Jun 20, 2022
  54. vijaydasmp referenced this in commit 88fe235bc7 on Jun 22, 2022
  55. DrahtBot locked this on Apr 26, 2023

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-12-22 09:12 UTC

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