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

m-lab / etl / 7103 / 1
67%
main: 67%

Build:
Build:
LAST BUILD BRANCH: prod-v2.27.4
DEFAULT BRANCH: main
Ran 21 Jan 2022 01:39PM UTC
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

21 Jan 2022 01:36PM UTC coverage: 64.336% (+0.2%) from 64.15%
PATH=$PATH:$HOME/gopath/bin

push

travis-ci-com

web-flow
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

3920 of 6093 relevant lines covered (64.34%)

0.7 hits per line

Source Files on job 7103.1 (PATH=$PATH:$HOME/gopath/bin)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6486
  • Travis Job 7103.1
  • 5c6d46f4 on github
  • Prev Job for PATH=$PATH:$HOME/gopath/bin on master (#7065.1)
  • Next Job for PATH=$PATH:$HOME/gopath/bin on master (#7147.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