mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 09:38:38 +00:00
test: avoid reusing AssumeUTXO coin insertion method in test fixtures #36601
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36601
Loading…
Reference in a new issue
No description provided.
Delete branch "l0rinc/coins-tests-without-snapshot-bypass"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: Several coin-cache fixtures use
EmplaceCoinInternalDANGERjust to set up their coins, even though it is reserved for snapshot loading.Fix: Use
AddCoinandSpendCoinfor fixture setup, keeping the entries dirty but not fresh, as before. Keep the simulation, fuzz and duplicate-insertion coverage that intentionally tests the bypass.This is a small extraction from #36598 that can be reviewed and merged independently of the broader AssumeUTXO removal demo. The overlay fixture change also follows the earlier suggestion in #35295.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
Reviewers, this pull request conflicts with the following ones:
CAmounta class by hodlinator)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.
No verified findings are available from this review.
Review coverage was incomplete.
Reviewed:
1c62336903cc· Full review report · Previous reportspermalink
🚧 At least one of the CI tasks failed.
Task
32 bit ARM: https://github.com/bitcoin/bitcoin/actions/runs/39741631849/job/119699974970LLM reason (✨ experimental): CTest failed because ARM-target test executables could not run on the host and were interpreted as shell scripts, producing syntax errors.
Hints
Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:
Possibly due to a silent merge conflict (the changes in this pull request being
incompatible with the current code in the target branch). If so, make sure to rebase on the latest
commit of the target branch.
A sanitizer issue, which can only be found by compiling with the sanitizer and running the
affected test.
An intermittent issue.
Leave a comment here, if you need help tracking down a confusing failure.
Tested ACK
1c62336903Ran
./build/bin/test_bitcoin -t coins_tests,coinsviewoverlay_testswith, clean and structured changes.ACK
1c62336903post-merge ACK
1c62336903