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

tahoe-lafs / tahoe-lafs / 1353
95%

Build:
DEFAULT BRANCH: master
Ran 28 Aug 2016 12:55AM UTC
Jobs 2
Files 141
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

pending completion
1353

push

travis-ci

warner
factor out "Tub maker"

This adds Node._create_tub(), which knows how to make a Tub with all the
right options and connection handlers that were specified in
tahoe.cfg (the connection handlers are disabled for now, but they'll get
implemented soon).

The new Node.create_main_tub() calls it. This main Tub is used:

* to connect to the Introducer
* to host the Helper (if enabled)
* to host the Storage Server (if enabled)

Node._create_tub() is also passed into the StorageFarmBroker, which
passes it into each NativeStorageServer, to create the (separate) Tub
for each server connection. _create_tub knows about the options, and
NativeStorageServer can override the connection handlers. This way we
don't need to pass tub options or default handlers into Client,
StorageFarmBroker, or NativeStorageServer.

A number of tests create NativeStorageServer objects: these were updated
to match the new arguments. test_storage_client was simplified because
we no longer need to mock out the Tub() constructor.

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

24249 of 26308 relevant lines covered (92.17%)

0.92 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/allmydata/mutable/servermap.py
1
100.0
src/allmydata/web/status.py
5
100.0
src/allmydata/mutable/publish.py
Jobs
ID Job ID Ran Files Coverage
1 1353.1 28 Aug 2016 12:55AM UTC 0
92.17
Travis Job 1353.1
2 1353.2 28 Aug 2016 12:58AM UTC 0
Travis Job 1353.2
Source Files on build 1353
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1353
  • cac99569 on github
  • Prev Build on master (#1352)
  • Next Build on master (#1356)
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