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

ooni / probe-cli / 8718750906 / 1
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2024 08:34AM UTC
Files 543
Run time 13s
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

17 Apr 2024 08:28AM UTC coverage: 82.793% (+0.002%) from 82.791%
8718750906.1

push

github

web-flow
feat(enginenetx): test `bridgesPolicy` with DNS success (#1554)

This diff introduces a test case for `bridgesPolicy` where we count
after how many policies we observe a DNS-generated policy. This test has
been crucial to investigate https://github.com/ooni/probe/issues/2704.
Based on this test we can conclude the following:

1. if the bridge IP address gets blocked or stops working, we're still
falling back to using the DNS;
2. however, the current algorithm does that in a too-slow fashion.

Additionally, I manually verified that we're actually falling back to
the DNS and that it really takes a long time by changing the
implementation to use `10.0.0.1` as the bridge address and verifying
that the code behaves as expected (though the "expected" behavior here
is not nice at all and we should improve upon that).

While there, fix naming and comments.

26295 of 31760 relevant lines covered (82.79%)

51.88 hits per line

Source Files on job 0 - 8718750906.1
  • Tree
  • List 0
  • Changed 30
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8718750906
  • 6efffc5a on github
  • Prev Job for on master (#8664712145.1)
  • Next Job for on master (#8719749592.1)
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