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

node-red / node-red-nodes / 496
49%

Build:
DEFAULT BRANCH: master
Ran 30 May 2017 04:20PM UTC
Jobs 3
Files 10
Run time 2min
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

pending completion
496

push

travis-ci

dceejay
Fix: SNMP fails to close/destroy sessions when it errors (#318)

* I've modified the snmp libraries so that the server and the community can be defined by the msg.
Error will be thrown if you try to override what was defined in the node.
Verified that the contents of msg is no longer clobbered.

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Replaced tabs with 4 spaces.
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* fix extra spacing

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Standardise node.error to include msg so that errors can caught

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Update documentation for snmp nodes

fixed documentation as noted, removed conflict and iff from documention
remove node.warns if host or community are set in both the node config and msg

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* FIX: Close net-snmp sessions
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Fix 2: The previous push did not cleanly address the problem.

This commit uses a singleton aproach to create socket.
It still needs to be tested to see if there is any issue to the never-close,
but reuse socket model. My only concern is if a socket dies, do we need to do something to reestablish it?

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

417 of 582 branches covered (71.65%)

627 of 817 relevant lines covered (76.74%)

29.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 496.1 (CXX="g++-4.8") 30 May 2017 04:21PM UTC 0
76.74
Travis Job 496.1
2 496.2 (CXX="g++-4.8") 30 May 2017 04:20PM UTC 0
76.74
Travis Job 496.2
3 496.3 (CXX="g++-4.8") 30 May 2017 04:23PM UTC 0
76.74
Travis Job 496.3
Source Files on build 496
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #496
  • 2204d583 on github
  • Prev Build on master (#495)
  • Next Build on master (#497)
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