-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2740 +/- ##
========================================
+ Coverage 78.5% 78.9% +0.4%
========================================
Files 115 115
Lines 19114 19003 -111
========================================
- Hits 15013 15004 -9
+ Misses 4101 3999 -102 |
Where else do we test that blobs get to the bank correctly in TVU? |
@sakridge, this test wasn't even testing that(maybe it was designed to at one point?). It just makes the bank process the transfers directly. The balances will always be correct so those asserts were pointless. The tvu wasn't really doing anything here as far as I can tell. I guess either way we'll need new replay stage tests with Bank forking coming in. |
@sagar-solana I'm not sure what you mean by process transfers directly because it's not doing like |
@sakridge, sorry I should have specified that this test is calling process_tick on the bank. Which is incorrect. That stops the tvu from being able to process the entries that are generated (since it's bank's last_id has moved before it even got the entries). Maybe I can remove the bank calls and let tvu handle it all. But still we have to deal with the fact that storage_stage freezes after those two asserts when tvu.close() is called. |
@garious, @sakridge pointed out that this test might actually have some value. Its just that with all the churn it's ended up becoming something else. I'll take another stab at fixing it. |
Problem
test_replay() was not exactly testing anything.
It had two parts
Bank has enough transfer tests and there was nothing being asserted for the retransmits making this test useless.
Summary of Changes
Removed the test. What ever this test was trying to do is covered elsewhere.
Fixes #2358