add benchmark flag to backup creation for proper cleanup when running a benchmark

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Hannes Laimer
2020-09-02 11:41:22 +02:00
committed by Dietmar Maurer
parent 871181d984
commit 61d7b5013c
4 changed files with 29 additions and 5 deletions

View File

@ -1026,6 +1026,7 @@ async fn create_backup(
&backup_id,
backup_time,
verbose,
false
).await?;
let previous_manifest = if let Ok(previous_manifest) = client.download_previous_manifest().await {

View File

@ -226,6 +226,7 @@ async fn test_upload_speed(
"benchmark",
backup_time,
false,
true
).await?;
if verbose { eprintln!("Start TLS speed test"); }