NotificationPublisherIntegrationTest

1

tests

0

failures

0

ignored

0.221s

duration

100%

successful

Tests

Test Duration Result
publishNotificationDeliversAgreedEventsToEmailQueue() 0.221s passed

Standard output

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.3.3)

2026-10-18T11:02:18.702Z  INFO 3989 --- [    Test worker] s.n.NotificationPublisherIntegrationTest : Starting NotificationPublisherIntegrationTest using Java 17.0.20.1 with PID 3989 (started by runner in /home/runner/work/comp5348-ci-relay/comp5348-ci-relay/repo/store)
2026-10-18T11:02:18.704Z  INFO 3989 --- [    Test worker] s.n.NotificationPublisherIntegrationTest : No active profile set, falling back to 1 default profile: "default"
2026-10-18T11:02:20.332Z  INFO 3989 --- [    Test worker] org.testcontainers.images.PullPolicy     : Image pull policy will be performed by: DefaultPullPolicy()
2026-10-18T11:02:20.335Z  INFO 3989 --- [    Test worker] o.t.utility.ImageNameSubstitutor         : Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
2026-10-18T11:02:20.359Z  INFO 3989 --- [    Test worker] org.testcontainers.DockerClientFactory   : Testcontainers version: 1.21.4
2026-10-18T11:02:20.546Z  INFO 3989 --- [    Test worker] o.t.d.DockerClientProviderStrategy       : Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
2026-10-18T11:02:20.811Z  INFO 3989 --- [    Test worker] o.t.d.DockerClientProviderStrategy       : Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
2026-10-18T11:02:20.813Z  INFO 3989 --- [    Test worker] org.testcontainers.DockerClientFactory   : Docker host IP address is localhost
2026-10-18T11:02:20.834Z  INFO 3989 --- [    Test worker] org.testcontainers.DockerClientFactory   : Connected to docker: 
  Server Version: 28.0.4
  API Version: 1.48
  Operating System: Ubuntu 24.04.5 LTS
  Total Memory: 7938 MB
2026-10-18T11:02:20.863Z  INFO 3989 --- [    Test worker] tc.testcontainers/ryuk:0.12.0            : Creating container for image: testcontainers/ryuk:0.12.0
2026-10-18T11:02:20.971Z  INFO 3989 --- [    Test worker] tc.testcontainers/ryuk:0.12.0            : Container testcontainers/ryuk:0.12.0 is starting: aae3ec8b249fce72180cb1b5fa2b6ac7683a4b37d7df704c292c2ed4a4d24be7
2026-10-18T11:02:21.291Z  INFO 3989 --- [    Test worker] tc.testcontainers/ryuk:0.12.0            : Container testcontainers/ryuk:0.12.0 started in PT0.428204068S
2026-10-18T11:02:21.296Z  INFO 3989 --- [    Test worker] o.t.utility.RyukResourceReaper           : Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
2026-10-18T11:02:21.296Z  INFO 3989 --- [    Test worker] org.testcontainers.DockerClientFactory   : Checking the system...
2026-10-18T11:02:21.296Z  INFO 3989 --- [    Test worker] org.testcontainers.DockerClientFactory   : ✔︎ Docker server version should be at least 1.6.0
2026-10-18T11:02:21.297Z  INFO 3989 --- [    Test worker] tc.rabbitmq:3.13-management              : Creating container for image: rabbitmq:3.13-management
2026-10-18T11:02:21.316Z  INFO 3989 --- [    Test worker] tc.rabbitmq:3.13-management              : Container rabbitmq:3.13-management is starting: e85e21c74f5dc58d7b76260ff1779aa09197aaf02af0f4378bd70ba0c0e4fb4d
2026-10-18T11:02:28.528Z  INFO 3989 --- [    Test worker] tc.rabbitmq:3.13-management              : Container rabbitmq:3.13-management started in PT7.230158105S
2026-10-18T11:02:30.388Z  WARN 3989 --- [    Test worker] .s.s.UserDetailsServiceAutoConfiguration : 

Using generated security password: 9df7f5db-c857-4c55-ae8e-319c7d8d2d14

This generated password is for development use only. Your security configuration must be updated before running your application in production.

2026-10-18T11:02:30.403Z  INFO 3989 --- [    Test worker] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with UserDetailsService bean with name inMemoryUserDetailsManager
2026-10-18T11:02:30.514Z  INFO 3989 --- [    Test worker] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
2026-10-18T11:02:30.667Z  INFO 3989 --- [    Test worker] s.n.NotificationPublisherIntegrationTest : Started NotificationPublisherIntegrationTest in 12.424 seconds (process running for 17.164)
2026-10-18T11:02:30.758Z  INFO 3989 --- [    Test worker] o.s.a.r.c.CachingConnectionFactory       : Attempting to connect to: [localhost:32779]
2026-10-18T11:02:30.826Z  INFO 3989 --- [    Test worker] o.s.a.r.c.CachingConnectionFactory       : Created new connection: rabbitConnectionFactory#7bbe5548:0/SimpleConnection@71d37ecd [delegate=amqp://guest@127.0.0.1:32779/, localPort=37278]
2026-10-18T11:02:30.880Z  INFO 3989 --- [    Test worker] c.c.g.s.n.NotificationPublisher          : Notification published and confirmed: eventId=evt-1000-payment_failed, eventType=PAYMENT_FAILED, orderId=1000
2026-10-18T11:02:30.913Z  INFO 3989 --- [    Test worker] c.c.g.s.n.NotificationPublisher          : Notification published and confirmed: eventId=evt-1001-order_cancelled, eventType=ORDER_CANCELLED, orderId=1001
2026-10-18T11:02:30.922Z  INFO 3989 --- [    Test worker] c.c.g.s.n.NotificationPublisher          : Notification published and confirmed: eventId=evt-1002-picked_up, eventType=PICKED_UP, orderId=1002
2026-10-18T11:02:30.926Z  INFO 3989 --- [    Test worker] c.c.g.s.n.NotificationPublisher          : Notification published and confirmed: eventId=evt-1003-in_transit, eventType=IN_TRANSIT, orderId=1003
2026-10-18T11:02:30.931Z  INFO 3989 --- [    Test worker] c.c.g.s.n.NotificationPublisher          : Notification published and confirmed: eventId=evt-1004-delivered, eventType=DELIVERED, orderId=1004
2026-10-18T11:02:30.937Z  INFO 3989 --- [    Test worker] c.c.g.s.n.NotificationPublisher          : Notification published and confirmed: eventId=evt-1005-delivery_lost, eventType=DELIVERY_LOST, orderId=1005
2026-10-18T11:02:30.942Z  INFO 3989 --- [    Test worker] c.c.g.s.n.NotificationPublisher          : Notification published and confirmed: eventId=evt-1006-refund_processed, eventType=REFUND_PROCESSED, orderId=1006