Enable fastresume in tests
This commit is contained in:
parent
c4888d5123
commit
ea39ec787a
2 changed files with 2 additions and 0 deletions
|
|
@ -221,6 +221,7 @@ impl BitVFactory for JsonSessionPersistenceStore {
|
||||||
.write(true)
|
.write(true)
|
||||||
.open(&filename)
|
.open(&filename)
|
||||||
.with_context(|| format!("error opening {filename:?}"))?;
|
.with_context(|| format!("error opening {filename:?}"))?;
|
||||||
|
trace!(?filename, "stored initial check bitfield");
|
||||||
Ok(MmapBitV::new(f)
|
Ok(MmapBitV::new(f)
|
||||||
.with_context(|| format!("error constructing MmapBitV from file {filename:?}"))?
|
.with_context(|| format!("error constructing MmapBitV from file {filename:?}"))?
|
||||||
.into_dyn())
|
.into_dyn())
|
||||||
|
|
|
||||||
|
|
@ -191,6 +191,7 @@ async fn _test_e2e_download() {
|
||||||
persistence: Some(SessionPersistenceConfig::Json {
|
persistence: Some(SessionPersistenceConfig::Json {
|
||||||
folder: Some(session_persistence),
|
folder: Some(session_persistence),
|
||||||
}),
|
}),
|
||||||
|
fastresume: true,
|
||||||
listen_port_range: None,
|
listen_port_range: None,
|
||||||
enable_upnp_port_forwarding: false,
|
enable_upnp_port_forwarding: false,
|
||||||
root_span: Some(error_span!("client")),
|
root_span: Some(error_span!("client")),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue