Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial download test cases fail #180

Open
tduf opened this issue Jun 28, 2024 · 0 comments
Open

Partial download test cases fail #180

tduf opened this issue Jun 28, 2024 · 0 comments

Comments

@tduf
Copy link

tduf commented Jun 28, 2024

Despite my PR #179, there is still 2 test cases in failure when I run locally the test_download.py:

  • test/test_download.py::test_download_partials_without_resume: expected to fail but the download succeeds.
  • test/test_download.py::test_download_partials_with_resume: expected a download resuming but succeeds in one shot.
./test/wait-for-hawkbit-online && dbus-run-session -- pytest -v test/test_download.py 
Waiting for hawkbit to come up 
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /home/thibaud/Work/xxx/repo/rauc-hawkbit-updater/venv/bin/python3
cachedir: .pytest_cache
rootdir: /home/thibaud/Work/xxx/repo/rauc-hawkbit-updater
configfile: pytest.ini
collected 7 items                                                                                                                                                                                                                            

test/test_download.py::test_download_inexistent_location PASSED                                                                                                                                                                        [ 14%]
test/test_download.py::test_download_unallowed_location PASSED                                                                                                                                                                         [ 28%]
test/test_download.py::test_download_too_slow PASSED                                                                                                                                                                                   [ 42%]
test/test_download.py::test_download_partials_without_resume FAILED                                                                                                                                                                    [ 57%]
test/test_download.py::test_download_partials_with_resume FAILED                                                                                                                                                                       [ 71%]
test/test_download.py::test_download_slow_with_resume PASSED                                                                                                                                                                           [ 85%]
test/test_download.py::test_download_only PASSED              

Full logs:
rauc-hawkbit-updater-download-issue-full-logs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant