OrderRefundIntegrationTest

5

tests

0

failures

0

ignored

0.093s

duration

100%

successful

Tests

Test Duration Result
processPendingRefundsProcessesAllOrdersInBatch() 0.027s passed
refundIdempotencyReusesSameRefundRequestId() 0.022s passed
successfulRefundUpdatesOrderAndPersistsRefundRequestId() 0.016s passed
timeoutReconciliationAppliesSuccess() 0.015s passed
timeoutReconciliationRetainsRefundPendingWhenNotFound() 0.013s passed

Standard output

2026-10-18T11:03:08.335Z  INFO 3989 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.comp5348.group06.store.service.OrderRefundIntegrationTest]: OrderRefundIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-10-18T11:03:08.339Z  INFO 3989 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.comp5348.group06.store.StoreApplication for test class com.comp5348.group06.store.service.OrderRefundIntegrationTest
2026-10-18T11:03:08.355Z  INFO 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Order 4 marked REFUNDED with refund transaction ID rf-tx-777
2026-10-18T11:03:08.358Z  INFO 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Order 4 is not in REFUND_PENDING (status=REFUNDED), skipping
2026-10-18T11:03:08.380Z  INFO 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Order 5 marked REFUNDED with refund transaction ID rf-batch-success
2026-10-18T11:03:08.385Z  INFO 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Order 6 marked REFUNDED with refund transaction ID rf-batch-success
2026-10-18T11:03:08.402Z  INFO 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Order 7 marked REFUNDED with refund transaction ID rf-tx-555
2026-10-18T11:03:08.418Z  WARN 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Bank refund call failed for order 8: Connection timed out. Reconciling...
2026-10-18T11:03:08.419Z  INFO 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Order 8 marked REFUNDED with refund transaction ID rf-reconciled-888
2026-10-18T11:03:08.434Z  WARN 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Bank refund call failed for order 9: Connection timed out. Reconciling...
2026-10-18T11:03:08.434Z  INFO 3989 --- [    Test worker] c.c.g.store.service.OrderRefundService   : Refund lookup for order 9 returned 404; retaining REFUND_PENDING for retry