[OpenNMS/opennms] d0abef: NMS-20027: treat NaN as equal in the strategy comp...

Marshall Massengill via opennms-cvs <[email protected]> Thu, 23 Jul 2026 08:46:57 -0700
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/mm/NMS-20027-smoke/[email protected]>
  Branch: refs/heads/mm/NMS-20027-smoke
  Home:   https://github.com/OpenNMS/opennms
  Commit: d0abefcd00f8a85da239d10ea32a2af19a4d9eda
      https://github.com/OpenNMS/opennms/commit/d0abefcd00f8a85da239d10ea32a2af19a4d9eda
  Author: Marshall Massengill <[email protected]>
  Date:   2026-07-23 (Thu, 23 Jul 2026)

  Changed paths:
    M features/flows/itests/src/test/java/org/opennms/netmgt/flows/elastic/ProportionalSumStrategyComparisonIT.java

  Log Message:
  -----------
  NMS-20027: treat NaN as equal in the strategy comparison

Empty series buckets are filled with Double.NaN, and both strategies
produce NaN in the same cells, but Hamcrest closeTo never matches NaN so
the aligned comparison failed on empty buckets even though the drift and
Painless results agree. Compare NaN cells as equal and keep the tolerance
check for real values.



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