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

m-lab / etl / 7217
67%
main: 67%

Build:
Build:
LAST BUILD BRANCH: prod-v2.27.4
DEFAULT BRANCH: main
Ran 02 Mar 2022 08:38AM UTC
Jobs 1
Files 44
Run time 10s
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

02 Mar 2022 08:35AM UTC coverage: 64.52% (+0.03%) from 64.487%
7217

push

travis-ci-com

web-flow
Add Gardener v2 parser for switch datatype (#1059)

* Add Gardener v2 parser for switch datatype (#1044)

* Initial implementation of the new switch datatype parser.

* Fix error handling in parser/switch.go

* Fix error handling.

* Fill in summary field from samples

* Use reflection and add unit tests.

* Do not return an error on unknown metrics.

This means we just fill the fields we want in the summary, and ignore
any extra data.

* Update update-schema/update.go to refer to the new SwitchRow struct.

* Update switch datatype parser and schema to use int64

* Update dataset/table names in update.go

* Add ID to SwitchRow and Broadcast-related fields to the summary.

* The "a" field should be lowercase.

* Update partition field for the switch table.

* Use DATE instead of TIMESTAMP and add CollectionTime to the summary.

Also, it's easier to use machine and site if they are not hostnames.

* Update comments.

* Update regex to account for v1 M-Lab hostnames.

* Add accurate estimation of SwitchRow's size.

* Update go.mod/go.sum after running go mod tidy.

* Remove commented line

* Update comment.

* Update ID format and variable name.

* Update comments.

* Add condition to only remove octets.local.tx/rx when needed.

* Update switch parser tests.

* s/valField/deltaField/

* Update tests.

* Updated tests to verify switch discards.

* Update tests.

* Update comment.

* Sort output by timestamp in the switch parser

* Update metric name TestCount -> TestTotal

223 of 223 new or added lines in 3 files covered. (100.0%)

3977 of 6164 relevant lines covered (64.52%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7217.1 (PATH=$PATH:$HOME/gopath/bin) 02 Mar 2022 08:38AM UTC 0
64.52
Travis Job 7217.1
Source Files on build 7217
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #7217
  • 3587755e on github
  • Prev Build on master (#7210)
  • Next Build on master (#7228)
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