create_test_chunk

Function create_test_chunk 

Source
pub fn create_test_chunk(
    seq: u32,
    data: &[u8],
    leader_term: u64,
    leader_id: u32,
    total_chunks: u32,
) -> SnapshotChunk
Expand description

Helper to create valid test chunk