EIDSNotificationReceiverTest
Tests
Test |
Duration |
Result |
testIsAlternativeServersValid |
0.398s |
passed |
Standard output
[Info] Connecting to server at 'localhost:12345'
Standard error
CONFIG thread=1 [null] using notification index 'test_index.db'
CONFIG thread=1 [null] using storage directory 'gradle/receiver_storage'
CONFIG thread=1 [null] storage max age 900 ms
CONFIG thread=1 [null] receiver cleanup interval 900 ms
CONFIG thread=1 [null] receiver connect timeout 15000 ms
CONFIG thread=1 [null] receiver read timeout 15000 ms
CONFIG thread=1 [null] EIDS server host is 'localhost'
CONFIG thread=1 [null] EIDS server port is '12345'
CONFIG thread=1 [null] EIDS alternate servers 'localhost:11111,localhost:22222'
CONFIG thread=1 [null] EIDS tracking file is 'gradle/receiver_tracking.dat'
FINE thread=708 [null] running receiver cleanup
FINER thread=710 [null] NotificationIndexCleanup starting
FINER thread=106 [null] running listener cleanup
FINE thread=157 [null] running event archive policy (testPolicy)
WARNING thread=157 [null] exception running event archive policy (testPolicy)
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null
at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232)
at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838)
at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)
INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products.
FINER thread=710 [null] NotificationIndexCleanup exiting