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

01org / ciao / 28
65%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 14 Nov 2016 10:53PM UTC
Jobs 1
Files 88
Run time 5s
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
28

push

travis-ci

bryteise
testutil: Add snake oil cert files for roles

The current test utility support passing role based snake oil
certificates for testing but only only as strings. Some of the APIs that
need to be tested require these to be passed as file paths instead so
this patch adds that capability.

The fake ca certs were generated with the following process using
ciao-cert from commit 3bb33ad64:

$ ./ciao-cert -directory ../testutil -host localhost -server -role \
scheduler -ip 127.0.0.1

$ ./ciao-cert -directory ../testutil -host localhost -role $role \
-server-cert ../testutil/cert-Scheduler-localhost.pem -ip 127.0.0.1

The RoleToTestCertPath function the change implements will give the path
to the CA certificate generated when creating the server certificate and
the path to the certificate matching the requested role. If there is no
certificate path matching the specified role an error will be returned
as well.

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

11990 of 18452 relevant lines covered (64.98%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
22
100.0
testutil/ssntp_test_certs.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
ssntp/forward.go
6
100.0
ssntp/client.go
7
100.0
testutil/controller.go
Jobs
ID Job ID Ran Files Coverage
2 28.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 14 Nov 2016 10:53PM UTC 0
64.98
Travis Job 28.2
Source Files on build 28
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #28
  • 34451dd6 on github
  • Prev Build on test-cert-files (#27)
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