CoordinatorAdminExceptionHttpIntegrationTest

3

tests

0

failures

0

ignored

0.097s

duration

100%

successful

Tests

Test Duration Result
admin create stream validation errors use coordinator error response() 0.023s passed
consumer concurrency is not exposed as an admin endpoint() 0.014s passed
create stream returns conflict when Redis shard key already exists for prefix() 0.060s passed

Standard output

2026-06-06T16:32:17.373Z  INFO 2783 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration io.github.ghkdqhrbals.redisstreamcoordinator.RedisStreamCoordinatorApplication for test class io.github.ghkdqhrbals.redisstreamcoordinator.CoordinatorAdminExceptionHttpIntegrationTest
2026-06-06T16:32:17.375Z  INFO 2783 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration io.github.ghkdqhrbals.redisstreamcoordinator.RedisStreamCoordinatorApplication for test class io.github.ghkdqhrbals.redisstreamcoordinator.CoordinatorAdminExceptionHttpIntegrationTest

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

 :: Spring Boot ::                (v4.0.6)

2026-06-06T16:32:17.419Z  INFO 2783 --- [    Test worker] dinatorAdminExceptionHttpIntegrationTest : Starting CoordinatorAdminExceptionHttpIntegrationTest using Java 24.0.2 with PID 2783 (started by runner in /home/runner/work/redis-stream-coordinator/redis-stream-coordinator/coordinator-server)
2026-06-06T16:32:17.420Z  INFO 2783 --- [    Test worker] dinatorAdminExceptionHttpIntegrationTest : No active profile set, falling back to 1 default profile: "default"
2026-06-06T16:32:17.708Z  INFO 2783 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2026-06-06T16:32:17.708Z  INFO 2783 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-06-06T16:32:17.719Z  INFO 2783 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
2026-06-06T16:32:18.168Z  INFO 2783 --- [    Test worker] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 3 endpoints beneath base path '/actuator'
2026-06-06T16:32:18.191Z  INFO 2783 --- [    Test worker] dinatorAdminExceptionHttpIntegrationTest : Started CoordinatorAdminExceptionHttpIntegrationTest in 0.8 seconds (process running for 7.728)
2026-06-06T16:32:18.193Z  WARN 2783 --- [    Test worker] o.s.core.events.SpringDocAppInitializer  : SpringDoc /swagger-ui.html endpoint is enabled by default. To disable it in production, set the property 'springdoc.swagger-ui.enabled=false'
2026-06-06T16:32:18.199Z  INFO 2783 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-06-06T16:32:18.199Z  INFO 2783 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-06-06T16:32:18.200Z  INFO 2783 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-06-06T16:32:18.247Z  INFO 2783 --- [    Test worker] redis-stream-coordinator.audit           : audit action=CREATE_STREAM outcome=FAILED status=409 principal=admin requestedBy= reason= requestId= coordinatorId=local-coordinator streamPrefix=occupied-prefix consumerGroup= reshardingId= method=POST path=/coord/v1/streams/occupied-prefix route=/coord/v1/streams/{streamPrefix} queryString= durationMs=31 roles=ADMIN,MEMBER,MONITOR,READ,WRITE requestSummary={} requestBodySha256=
2026-06-06T16:32:18.259Z  INFO 2783 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-06-06T16:32:18.260Z  INFO 2783 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-06-06T16:32:18.261Z  INFO 2783 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-06-06T16:32:18.274Z  INFO 2783 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-06-06T16:32:18.274Z  INFO 2783 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-06-06T16:32:18.275Z  INFO 2783 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-06-06T16:32:18.291Z  INFO 2783 --- [    Test worker] redis-stream-coordinator.audit           : audit action=CREATE_STREAM outcome=FAILED status=400 principal=admin requestedBy= reason= requestId= coordinatorId=local-coordinator streamPrefix=invalid-body consumerGroup= reshardingId= method=POST path=/coord/v1/streams/invalid-body route=/coord/v1/streams/{streamPrefix} queryString= durationMs=14 roles=ADMIN,MEMBER,MONITOR,READ,WRITE requestSummary={} requestBodySha256=