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

Chia-Network / chia-blockchain / 24109340436
91%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2026 03:41AM UTC
Jobs 1
Files 902
Run time 2min
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 Apr 2026 11:26PM UTC coverage: 91.203% (-0.1%) from 91.341%
24109340436

push

github

web-flow
[ASB-128] Fix flaky test_server_http_ban by freezing time.time() (#20759)

Fix flaky test_server_http_ban by freezing time.time()

The test was intermittently failing with off-by-one errors because
insert_from_delta_file() captures a fresh int(time.time()) on each
call. When the wall clock advanced between the two sequential calls,
max(old_ignore_till, new_timestamp + ban) would pick the newer value,
breaking the strict == assertion.

Freeze time.time() via monkeypatch so both calls see the same
timestamp, making the max() computation deterministic. Also tighten
the first ban assertion from >= to == since the frozen clock
guarantees an exact value.

10490 of 11674 branches covered (89.86%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 1 file covered. (100.0%)

182 existing lines in 9 files now uncovered.

106644 of 116758 relevant lines covered (91.34%)

1.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
79
42.73
-27.91% chia/seeder/crawler.py
51
53.87
-21.55% chia/seeder/crawl_store.py
33
44.53
-39.06% chia/seeder/peer_record.py
11
73.18
-1.28% chia/timelord/timelord.py
2
87.49
0.0% chia/full_node/full_node.py
2
87.39
-0.36% chia/server/server.py
2
70.0
-1.43% chia/timelord/timelord_launcher.py
1
86.56
0.07% chia/full_node/full_node_api.py
1
96.49
0.0% chia/_tests/simulation/test_simulation.py
Jobs
ID Job ID Ran Files Coverage
1 24109340436.1 08 Apr 2026 03:41AM UTC 1804
91.2
GitHub Action Run
Source Files on build 24109340436
  • Tree
  • List 902
  • Changed 16
  • Source Changed 3
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24109340436
  • 70255fe5 on github
  • Prev Build on main (#24104004729)
  • Next Build on main (#24103990682)
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