brave-browser#60841 Weak unit tests in polkadot_substrate_rpc_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41255
tests QA/No release-notes/exclude feature/web3/wallet OS/Android OS/Desktop OS/iOS tests/test-quality tests/false-positive
Unit tests in components/brave_wallet/browser/polkadot/polkadot_substrate_rpc_unittest.cc would keep passing if the behavior they cover broke. PolkadotSubstrateRpcUnitTest.GetAccountBalance (low severity) L185 - Why it's weak: In GetAccountBalance, the 'Account data is too short' response is malformed JSON ("block":""0x1bcd...), so it fails at JSON parsing and never exercises the 80-byte account-info length check it is meant to cover. - Change that would still pass: In…
Timeline (7 of 11 events)
- 2026-11-03 23:51 Label added
QA/Noby netzenbot - 2026-11-03 23:51 Label added
release-notes/excludeby netzenbot - 2026-11-04 20:59 Referenced by brave-core#41255 by netzenbot
- 2026-11-05 13:26 Closed
completedbrave-core#41255 by bbondy - 2026-11-23 16:38 Label added
OS/Androidby netzenbot - 2026-11-23 16:38 Label added
OS/Desktopby netzenbot - 2026-11-23 16:38 Label added
OS/iOSby netzenbot