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

jstasiak / python-zeroconf / 975
94%

Build:
DEFAULT BRANCH: master
Ran 04 Jan 2021 07:15PM UTC
Jobs 7
Files 2
Run time 73min
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

pending completion
975

push

travis-ci

jstasiak
Ensure the name cache is rolled back when the packet reaches maximum size

If the packet was too large, it would be rolled back at the end of write_record.
We need to remove the names that were added to the name cache (self.names)
as well to avoid a case were we would create a pointer to a name that was
rolled back.

The size of the packet was incorrect at the end after the inserts because
insert_short would increase self.size even though it was already accounted
before. To resolve this insert_short_at_start was added which does not
increase self.size. This did not cause an actual bug, however it sure
made debugging this problem far more difficult.

Additionally the size now inserted and then replaced when the actual
size is known because it made debugging quite difficult since the size
did not previously agree with the data.

597 of 715 branches covered (83.5%)

29 of 29 new or added lines in 2 files covered. (100.0%)

2500 of 2667 relevant lines covered (93.74%)

6.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 975.1 04 Jan 2021 07:15PM UTC 0
93.75
Travis Job 975.1
2 975.2 04 Jan 2021 07:16PM UTC 0
93.75
Travis Job 975.2
3 975.3 04 Jan 2021 07:23PM UTC 0
93.75
Travis Job 975.3
4 975.4 04 Jan 2021 07:23PM UTC 0
93.75
Travis Job 975.4
5 975.5 04 Jan 2021 08:23PM UTC 0
93.75
Travis Job 975.5
6 975.6 04 Jan 2021 08:29PM UTC 0
93.67
Travis Job 975.6
7 975.7 04 Jan 2021 08:29PM UTC 0
93.75
Travis Job 975.7
Source Files on build 975
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #975
  • 86b4e114 on github
  • Prev Build on master (#958)
  • Next Build on master (#977)
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

© 2026 Coveralls, Inc