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

openconfig / kne / 5944916950

22 Aug 2023 11:04PM UTC coverage: 65.793% (+0.006%) from 65.787%
5944916950

push

github

web-flow
juniper config mode retry and error handling (#420)

* juniper config mode retry and error handling

In rare occasions, getting into config mode can take some time.
Change here adds retry in case of privilege error by Scrapligo.
Scrapligo throws this when config mode is not yet available. Also
adds a bit better error handling and printing pod information when
certificate push failure occurs.

Also gets rid of /sys/class mount which is no longer needed.

* juniper.go - fix whitespace newline lint error

* juniper - add test cases to cover config mode related delays

Also covers a commit failure case. Both part of certificate generation.

* juniper test - stub the config mode test timeout to speed up the test.

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

3993 of 6069 relevant lines covered (65.79%)

0.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.77
/topo/node/juniper/juniper.go


Source Not Available

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