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

openconfig / ygot / 5248797836
89%

Build:
DEFAULT BRANCH: master
Ran 12 Jun 2023 09:43PM UTC
Jobs 1
Files 79
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

12 Jun 2023 09:43PM UTC coverage: 89.65%. Remained the same
5248797836

push

github

web-flow
Add tests for PopulateDefaults for ordered maps (#866)

* Add support for ending iteration of subtrees in `ForEachDataField`

* Try adding stringer

* install stringer

* fix comment

* fix enum name

* Add `DiffWithAtomic` to support creating Atomic Notifications.

When comparing two GoStructs where a YANG `ordered-by user` list is
involved, it is not possible using a single Notification to represent
the diff such that the Notification can do the following:
1. update a gNMI cache correctly with the atomic notification.
2. unmarshal the notification to the `orig` to get back the `modified`
   GoStruct.

This function achieves this functionality, sharing the underlying
implementation with Diff, where a disclaimer has been added to the doc
comment.

Other helpers have been created as well to be shared with
`TogNMINotifications`.

Other changes:
- `TogNMINotifications` has been changed to follow the same convention of
  putting the non-atomic Notification as the first message instead of
  the last. The reason is that current code MAY be using `notifs[0]` and
  I don't want to break that, and this also seems slightly better from a
  usability perspective.

* Fix bug when IgnoreAdditions option is turned on

* Add tests for PopulateDefaults for ordered maps

* Move TestTogNMINotifications's ordered map tests to exported tests (#867)

* Move TestTogNMINotifications's ordered map tests to exported tests

* lint

13200 of 14724 relevant lines covered (89.65%)

498.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5248797836.1 12 Jun 2023 09:43PM UTC 0
89.65
GitHub Action Run
Source Files on build 5248797836
Detailed source file information is not available for this build.
  • Back to Repo
  • 55341c1a on github
  • Prev Build on master (#5248409333)
  • Next Build on master (#5248945114)
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