JDBCProductIndexTest

9

tests

0

failures

0

ignored

0.452s

duration

100%

successful

Tests

Test Duration Result
addAssociationTest 0.058s passed
addEventTest 0.012s passed
addNormailizedSummaryTest 0.068s passed
addSummaryTest 0.067s passed
getEventsTest 0.014s passed
getProductsTest 0.147s passed
getUnassociatedProductTest 0.069s passed
limitQueryTest 0.016s passed
orderByQueryTest 0.001s passed

Standard error

Thu Mar 20 18:33:45 UTC 2025
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.