Tests that given a root hash, a trie can sync iteratively on a single thread, requesting retrieval tasks and returning all of them in one go, however in a random order.
(t *testing.T)
| 201 | // requesting retrieval tasks and returning all of them in one go, however in a |
| 202 | // random order. |
| 203 | func TestIterativeRandomStateSyncIndividual(t *testing.T) { testIterativeRandomStateSync(t, 1) } |
| 204 | func TestIterativeRandomStateSyncBatched(t *testing.T) { testIterativeRandomStateSync(t, 100) } |
| 205 | |
| 206 | func testIterativeRandomStateSync(t *testing.T, batch int) { |
nothing calls this directly
no test coverage detected