ProductKeyChainTest

12

tests

0

failures

0

ignored

0.216s

duration

100%

successful

Tests

Test Duration Result
testFromFileWithIniFile 0.002s passed
testFromFileWithUnsupportedFileExtension 0.001s passed
testFromFileWithYamlFile 0.071s passed
testMalformedYmlFileWithNoKeychain 0.002s passed
testMalformedYmlFileWithNoKeys 0.002s passed
testYmlFileWithMultipleKeysAndContainsSourcesAndTypes 0.005s passed
testYmlFileWithMultipleKeysInKeychainAndNoSourcesAndNoTypes 0.008s passed
testYmlFileWithMultipleKeysInKeychainAndSourcesAndTypes 0.003s passed
testYmlFileWithMultipleSources 0.003s passed
testYmlFileWithMultipleSourcesAndMultipleTypes 0.113s passed
testYmlFileWithMultipleTypes 0.004s passed
testYmlFileWithNoSourcesAndNoTypes 0.002s passed

Standard error

Wed Apr 16 20:02:21 UTC 2025
WARNING	thread=153	[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=153	[null] purged 0 expired events and 0 expired unassociated products.
WARNING	thread=1	Unsupported file extension foobar for keychain file