Skip to content

Commit

Permalink
fix: slow download test
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bezannier <[email protected]>
  • Loading branch information
flobz committed Oct 24, 2023
1 parent 5f1d3e0 commit b2d77d9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ def test_download_partials_without_resume(hawkbit, bundle_assigned, adjust_confi
download resuming configured.
"""
config = adjust_config(
{'client': {'hawkbit_server': f'{hawkbit.host}:{partial_download_port}'}}
{'client': {
'hawkbit_server': f'{hawkbit.host}:{partial_download_port}',
'low_speed_time': "1",
'low_speed_rate': '500000'
}
}
)

# ignore failing installation
Expand All @@ -91,6 +96,8 @@ def test_download_partials_with_resume(hawkbit, bundle_assigned, adjust_config,
'client': {
'hawkbit_server': f'{hawkbit.host}:{partial_download_port}',
'resume_downloads': 'true',
'low_speed_time': "1",
'low_speed_rate': '250000',
}
})

Expand Down

0 comments on commit b2d77d9

Please sign in to comment.