[pbs-devel] [PATCH v6 proxmox-backup 64/65] chunker: tests: add regression tests for payload chunker

Christian Ebner c.ebner at proxmox.com
Tue May 21 13:27:00 CEST 2024


On 5/21/24 13:23, Dominik Csapak wrote:
> these tests fail here with:
> 
> ---- chunker::test_suggested_boundary stdout ----
> Chunk at 1, total 32768 from base 0
> Chunk at 1, total 143377 from base 0
> Chunk at 1, total 405521 from base 0
> Chunk at 1, total 667665 from base 0
> Chunk at 1, total 929809 from base 0
> thread 'chunker::test_suggested_boundary' panicked at 'attempt to 
> subtract with overflow', pbs-datastore/src/chunker.rs:253:19
> note: run with `RUST_BACKTRACE=1` environment variable to display a 
> backtrace
> 
> is there something wrong in the code or in the tests (or in my 
> environment) ?

Oh, okay will double check...





More information about the pbs-devel mailing list