[OpenNMS/opennms] 9b5337: NMS-19979: Update collectd tests for the first-col...
Marshall Massengill via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/mm/NMS-19979-smoke/[email protected]> |
Branch: refs/heads/mm/NMS-19979-smoke
Home: https://github.com/OpenNMS/opennms
Commit: 9b5337565e5a988e99504c75c840dfc741df6b26
https://github.com/OpenNMS/opennms/commit/9b5337565e5a988e99504c75c840dfc741df6b26
Author: Marshall Massengill <[email protected]>
Date: 2026-08-13 (Thu, 13 Aug 2026)
Changed paths:
M opennms-services/src/test/java/org/opennms/netmgt/collectd/CollectdIT.java
M opennms-services/src/test/java/org/opennms/netmgt/collectd/ThresholdIT.java
Log Message:
-----------
NMS-19979: Update collectd tests for the first-collection succeeded event
Seeding m_status to UNKNOWN makes the first successful collection of every
scheduling generation a transition, so it now emits dataCollectionSucceeded.
Two existing tests assumed that event never fired.
ThresholdIT anticipates it once per generation. A nodeCategoryMembershipChanged
event unschedules and reschedules the node, building a fresh CollectableService,
so the reschedule reports success again after the second category change.
CollectdIT.testOneMatchingSpec performs real collections, so it accounts for the
send explicitly rather than loosening tearDown's verifyNoMoreInteractions.
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs