AwsProductReceiverTest

5

tests

0

failures

0

ignored

1.263s

duration

100%

successful

Tests

Test Duration Result
testBroadcastOutOfOrder() 0.012s passed
testStartCatchUpWhenConnected() 0.005s passed
testStartCatchUpWhenReconnected() 1.009s passed
testSwitchToBroadcast() 0.130s passed
testThrottleQueue() 0.107s passed

Standard error

Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] onOpen connection_id=test session
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] Starting catch up
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.TestBasicRemote sendText
INFO: sendText called with {"action":"products_created_after","created_after":"2022-10-04T18:21:21.341574Z"}
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onProductsCreatedAfter
INFO: [null] Caught up, switching to broadcast
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] onOpen connection_id=test session
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] Starting catch up
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.distribution.ExecutorListenerNotifier throttleQueues
INFO: [null] queueing throttled until below 2500 (size=5001, remaining=?)
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.distribution.ExecutorListenerNotifier throttleQueues
INFO: [null] done throttling (size = 2499)
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.TestBasicRemote sendText
INFO: sendText called with {"action":"products_created_after","created_after":"2022-10-04T18:21:21.534147Z"}
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onClose
INFO: [null] onClose CloseReason[1001,test going away]
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] onOpen connection_id=test session
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] Starting catch up
Oct 11, 2022 12:21:21 PM gov.usgs.earthquake.aws.AwsProductReceiver run
WARNING: Exception sending products_created_after
java.lang.NullPointerException
	at gov.usgs.earthquake.aws.AwsProductReceiver.sendProductsCreatedAfter(AwsProductReceiver.java:393)
	at gov.usgs.earthquake.aws.AwsProductReceiver.run(AwsProductReceiver.java:353)
	at java.base/java.lang.Thread.run(Thread.java:829)

Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.TestBasicRemote sendText
INFO: sendText called with {"action":"products_created_after","created_after":"2022-10-04T18:21:21.538922Z"}
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] onOpen connection_id=test session
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] Starting catch up
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.TestBasicRemote sendText
INFO: sendText called with {"action":"products_created_after","created_after":"2022-10-04T18:21:22.549367Z"}
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.AwsProductReceiver onProductsCreatedAfter
INFO: [null] Caught up, switching to broadcast
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.AwsProductReceiver onBroadcast
INFO: [null] broadcast ids out of sequence (at 11, received 13), switching to catch up mode
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.TestBasicRemote sendText
INFO: sendText called with {"action":"products_created_after","created_after":"2022-10-11T18:21:22.551277Z"}
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] onOpen connection_id=test session
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.AwsProductReceiver onOpen
INFO: [null] Starting catch up
Oct 11, 2022 12:21:22 PM gov.usgs.earthquake.aws.TestBasicRemote sendText
INFO: sendText called with {"action":"products_created_after","created_after":"2022-10-04T18:21:22.561681Z"}