-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beat [0/4]: improve itest miner #8892
Commits on Jul 23, 2024
-
lntest: create new package
lntest/miner
for itest minerThis commit moves the `HarnessMiner` into a new package to avoid confusion about incoming changes.
Configuration menu - View commit details
-
Copy full SHA for a881477 - Browse repository at this point
Copy the full SHA a881477View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91b20e6 - Browse repository at this point
Copy the full SHA 91b20e6View commit details -
lntest+itest: strictly define the behavior of
MineBlocks
This commit adds more assertion to `MineBlocks` so the caller won't misuse it.
Configuration menu - View commit details
-
Copy full SHA for e553895 - Browse repository at this point
Copy the full SHA e553895View commit details -
lntest+itest: add method
AssertNumTxsInMempool
andAssertTxInBlock
in harness Prepare to make `HarnessTest.Miner` a private instance to sync height.
Configuration menu - View commit details
-
Copy full SHA for 976bb37 - Browse repository at this point
Copy the full SHA 976bb37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bd8bae - Browse repository at this point
Copy the full SHA 6bd8baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for be4dba5 - Browse repository at this point
Copy the full SHA be4dba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14e7b13 - Browse repository at this point
Copy the full SHA 14e7b13View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1f3410 - Browse repository at this point
Copy the full SHA f1f3410View commit details -
itest: fix misuse of
MineBlocks
and replace it with`MineBlocksAndAssertNumTxes`
Configuration menu - View commit details
-
Copy full SHA for 8240a87 - Browse repository at this point
Copy the full SHA 8240a87View commit details -
lntest: remove redundant nodes shutdown
The nodes are already shut down in the `Cleanup` in `ht.Subtest` so there's no need to shutdown them again.
Configuration menu - View commit details
-
Copy full SHA for 623f816 - Browse repository at this point
Copy the full SHA 623f816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5027946 - Browse repository at this point
Copy the full SHA 5027946View commit details -
multi: make sure
missionControlStore
catchesdone
signalThis commit makes sure `missionControlStore` catches the shutdown signal when draining the ticker. A few debug logs are added to aid the process.
Configuration menu - View commit details
-
Copy full SHA for 2608c08 - Browse repository at this point
Copy the full SHA 2608c08View commit details -
lntest+itest: fix flakes found using
neutrino
backendThis commit makes sure the sweep requests are received before mining blocks to trigger the actual sweeping. In addition, `testFundingExpiryBlocksOnPending` is updated to deal with the old `channel link not found` issue.
Configuration menu - View commit details
-
Copy full SHA for 4dcce9d - Browse repository at this point
Copy the full SHA 4dcce9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d21aa3 - Browse repository at this point
Copy the full SHA 2d21aa3View commit details -
itest: fix
testUnconfirmedChannelFunding
for neutrinoThis test was previously working because we'd mine an extra block to confirm the coins inside `FundCoinsUnconfirmed` when it's a neutrino backend, as shown in https://github.com/lightningnetwork/lnd/blob/fdd28c8d888792ea8fde3c557ba9f2594e0a6ec8/lntest/harness.go#L1431 Since neutrino has trouble seeing unconfirmed balance, we now send some coins to the wallet, confirm those, then do a self-transfer so the node will have unconfirmed outputs to perform the test.
Configuration menu - View commit details
-
Copy full SHA for 9180762 - Browse repository at this point
Copy the full SHA 9180762View commit details