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

openconfig / ygot / 5258633661
89%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2023 05:37PM UTC
Jobs 1
Files 79
Run time 2s
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

13 Jun 2023 05:33PM UTC coverage: 89.633% (-0.02%) from 89.65%
5258633661

push

github

web-flow
Uncompressed ordered map tests in mostly `ygot` package. (#872)

* 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

* Export ConstructJSON ordered map test

* Export remaining ordered map tests

* lint

* Initial tests for uncompressed structs with ordered maps.

* Remove more dead test code

* Uncompressed ordered map test on PopulateDefaults

* Uncompressed GoStruct tests in mostly `ygot` package.

* Simplified `UnmarshalSetRequest` to always unmarshal w/r to the root
  node. This allows atomic Notifications to be deleted correctly.

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

* Move TestTogNMINotifications's ordered map tests to exported tests
... (continued)

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

13176 of 14700 relevant lines covered (89.63%)

505.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5258633661.1 13 Jun 2023 05:37PM UTC 0
89.63
GitHub Action Run
Source Files on build 5258633661
Detailed source file information is not available for this build.
  • Back to Repo
  • 7c99f871 on github
  • Prev Build on master (#5258325774)
  • Next Build on master (#5259094432)
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