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

m-lab / mlab-ns / 1346 / 1
64%
master: 64%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2020 10:35PM UTC
Files 24
Run time 3s
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

27 Mar 2020 10:07PM UTC coverage: 64.642% (-2.0%) from 66.646%
PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine

push

travis-ci

web-flow
Changes to begin preparing for project-decorated/flat names. (#228)

* Fixes SERVER_REGEX for sandbox, which should include mlab[1-4], not just mlab4.

* Updates is_production_slice() to use a regexp to extract machine and site instead of just splitting on dot. This should allow supporting v1 and v2 siteinfo names.

* Uses v2 siteinfo URLs for sandbox and staging.

* Fixes unbalanced parentheses in regex in is_production_slice().

* Fixes regex in is_production_slice() to take into account the experiment part of the 'slice' name.

* A yapf suggested formatting change in is_production_slice().

* Returns False if the re.match() in is_prouduction_slice() doesn't match.

* Adds a missing colon after else.

* Bounds the end of the regex in is_production_slice() with a dot to be sure that it doesn't match malformed names.

* Adds an extra space before first def to please yapf or whatever formatter.

* Reverts siteinfo URL for locations.json to v1, since a v2 version doesn't exist.

* Replaces split(.) with a regex that can identify both v1 and v2 host names.

* Adds a conditional and regex to return true for a 'production' check when the project is mlab-sandbox.

* Adds another conditional on project for is_production_slice.

* Fixes parse_sliver_tool_status() to recognize and take into account v2 hostnames.

* Adds a newline for better readability.

* Does not flatten FQDNs in sandbox, since sandbox uses v2 hostnames which are already flattened.

* Removes Nagios unit tests since we haven't relied on Nagios for a couple years now.

* mock.patches app_identity.get_application_id in a couple of unit test files.

* Introduces new module mlabns/util/parse_fqdn. Uses this module, add/updates testing.

* Actually adds the new module parse_fqdn.

* Modifies the comments of function is_production_slice() with a couple more contemporary examples.

* Uses fake project mlab-testing instead of mlab-oti in unit tests in test... (continued)

1075 of 1663 relevant lines covered (64.64%)

0.65 hits per line

Source Files on job 1346.1 (PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 777
  • Travis Job 1346.1
  • c9d37f3a on github
  • Prev Job for PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine on master (#1332.1)
  • Next Job for PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine on master (#1351.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