Enable fastresume in tests

This commit is contained in:
Igor Katson 2024-08-20 21:58:59 +01:00
parent c4888d5123
commit ea39ec787a
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 2 additions and 0 deletions

View file

@ -221,6 +221,7 @@ impl BitVFactory for JsonSessionPersistenceStore {
.write(true)
.open(&filename)
.with_context(|| format!("error opening {filename:?}"))?;
trace!(?filename, "stored initial check bitfield");
Ok(MmapBitV::new(f)
.with_context(|| format!("error constructing MmapBitV from file {filename:?}"))?
.into_dyn())

View file

@ -191,6 +191,7 @@ async fn _test_e2e_download() {
persistence: Some(SessionPersistenceConfig::Json {
folder: Some(session_persistence),
}),
fastresume: true,
listen_port_range: None,
enable_upnp_port_forwarding: false,
root_span: Some(error_span!("client")),