• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mavlink / MAVSDK / 8192639978
48%

Build:
DEFAULT BRANCH: main
Ran 07 Mar 2024 06:02PM UTC
Jobs 1
Files 234
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Mar 2024 05:57PM UTC coverage: 36.354% (-0.02%) from 36.376%
8192639978

push

github

web-flow
Ftp client: Fix burst download (#2235)

* Ftp client: Fix burst download

Better missing parts management (less memory used)
Restart burst read if file is not complete.

* ftp: prevent huge allocation

Sometimes we seem to get a message with offset 0. I'm not sure why.
Instead of allocating something huge, we're better off just bailing out.

Signed-off-by: Julian Oes <julian@oes.ch>

* ftp: address sonarcloud complain

Presumably, this was wrong.

Signed-off-by: Julian Oes <julian@oes.ch>

* Fix ftp burst download timeout

* Revert "Fix ftp burst download timeout"

This reverts commit 342df2ecc.

* ftp: fixup lossy burst download

This was my messy try to fix the edge case where the very last burst
packet which contains burst_complete=1 is lost.

Signed-off-by: Julian Oes <julian@oes.ch>

* Ftp burst download : fix offset in case of timeout

---------

Signed-off-by: Julian Oes <julian@oes.ch>
Co-authored-by: Julian Oes <julian@oes.ch>

59 of 83 new or added lines in 2 files covered. (71.08%)

7 existing lines in 2 files now uncovered.

10081 of 27730 relevant lines covered (36.35%)

125.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
24
73.59
-1.13% src/mavsdk/core/mavlink_ftp_client.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
12.73
-1.82% src/mavsdk/core/timesync.cpp
6
73.59
-1.13% src/mavsdk/core/mavlink_ftp_client.cpp
Jobs
ID Job ID Ran Files Coverage
1 8192639978.1 07 Mar 2024 06:02PM UTC 559
31.87
GitHub Action Run
Source Files on build 8192639978
  • Tree
  • List 234
  • Changed 64
  • Source Changed 0
  • Coverage Changed 38
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5c3e3f74 on github
  • Prev Build on main (#8182609756)
  • Next Build on main (#8192653292)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc