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

ooni / probe-cli / 8718750906
72%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2024 08:34AM UTC
Jobs 1
Files 543
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

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

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.

12 of 12 new or added lines in 4 files covered. (100.0%)

26295 of 31760 relevant lines covered (82.79%)

51.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 8718750906.1 17 Apr 2024 08:34AM UTC 0
82.79
GitHub Action Run
Source Files on build 8718750906
Detailed source file information is not available for this build.
  • Back to Repo
  • 6efffc5a on github
  • Prev Build on master (#8664712145)
  • Next Build on master (#8719749592)
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