HeartbeatListenerTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
testAutoClearHeartbeat() | 5.007s | passed |
testJSONHeartbeatListener() | 0.003s | passed |
testManualClearHeartbeat() | 1.004s | passed |
testWriteHeartbeat() | 0.036s | passed |
Standard output
Test scheduled heartbeat data clearing, JSON={} Test sendHeartbeatMessage and JSON={"TestComponent1":{"key13":{"message":"value13","date":"1742495582712"},"key12":{"message":"value12","date":"1742495582712"},"key11":{"message":"value11","date":"1742495582712"}},"TestComponent2":{"key23":{"message":"value23","date":"1742495582712"},"key22":{"message":"value22","date":"1742495582712"},"key21":{"message":"value21","date":"1742495582712"}}} Manual test heartbeat data cleared, JSON={}
Standard error
Exception in thread "Thread-69" java.lang.NullPointerException: Cannot invoke "gov.usgs.earthquake.distribution.NotificationIndex.getName()" because "this.index" is null at gov.usgs.earthquake.distribution.NotificationIndexCleanup.run(NotificationIndexCleanup.java:54) at java.base/java.lang.Thread.run(Thread.java:840) Exception in thread "Thread-70" java.lang.NullPointerException: Cannot invoke "gov.usgs.earthquake.distribution.NotificationIndex.getName()" because "this.index" is null at gov.usgs.earthquake.distribution.NotificationIndexCleanup.run(NotificationIndexCleanup.java:54) at java.base/java.lang.Thread.run(Thread.java:840)