ProductKeyChainTest

12

tests

0

failures

0

ignored

0.368s

duration

100%

successful

Tests

Test Duration Result
testFromFileWithIniFile 0.002s passed
testFromFileWithUnsupportedFileExtension 0.002s passed
testFromFileWithYamlFile 0.077s passed
testMalformedYmlFileWithNoKeychain 0.003s passed
testMalformedYmlFileWithNoKeys 0.002s passed
testYmlFileWithMultipleKeysAndContainsSourcesAndTypes 0.005s passed
testYmlFileWithMultipleKeysInKeychainAndNoSourcesAndNoTypes 0.003s passed
testYmlFileWithMultipleKeysInKeychainAndSourcesAndTypes 0.005s passed
testYmlFileWithMultipleSources 0.004s passed
testYmlFileWithMultipleSourcesAndMultipleTypes 0.257s passed
testYmlFileWithMultipleTypes 0.005s passed
testYmlFileWithNoSourcesAndNoTypes 0.003s passed

Standard error

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.
WARNING	thread=1	Unsupported file extension foobar for keychain file