CoordinatorAdminExceptionHttpIntegrationTest

3

tests

0

failures

0

ignored

0.088s

duration

100%

successful

Tests

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

Standard output

2026-06-06T06:13:12.784Z  INFO 2707 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration io.github.ghkdqhrbals.redisstreamcoordinator.RedisStreamCoordinatorApplication for test class io.github.ghkdqhrbals.redisstreamcoordinator.CoordinatorAdminExceptionHttpIntegrationTest
2026-06-06T06:13:12.786Z  INFO 2707 --- [    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-06T06:13:12.819Z  INFO 2707 --- [    Test worker] dinatorAdminExceptionHttpIntegrationTest : Starting CoordinatorAdminExceptionHttpIntegrationTest using Java 24.0.2 with PID 2707 (started by runner in /home/runner/work/redis-stream-coordinator/redis-stream-coordinator/coordinator-server)
2026-06-06T06:13:12.820Z  INFO 2707 --- [    Test worker] dinatorAdminExceptionHttpIntegrationTest : No active profile set, falling back to 1 default profile: "default"
2026-06-06T06:13:13.114Z  INFO 2707 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2026-06-06T06:13:13.114Z  INFO 2707 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-06-06T06:13:13.123Z  INFO 2707 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
2026-06-06T06:13:13.565Z  INFO 2707 --- [    Test worker] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 3 endpoints beneath base path '/actuator'
2026-06-06T06:13:13.588Z  INFO 2707 --- [    Test worker] dinatorAdminExceptionHttpIntegrationTest : Started CoordinatorAdminExceptionHttpIntegrationTest in 0.793 seconds (process running for 7.891)
2026-06-06T06:13:13.589Z  WARN 2707 --- [    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-06T06:13:13.593Z  INFO 2707 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-06-06T06:13:13.593Z  INFO 2707 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-06-06T06:13:13.594Z  INFO 2707 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 0 ms
2026-06-06T06:13:13.631Z  INFO 2707 --- [    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=26 roles=ADMIN,MEMBER,MONITOR,READ,WRITE requestSummary={} requestBodySha256=
2026-06-06T06:13:13.641Z  INFO 2707 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-06-06T06:13:13.641Z  INFO 2707 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-06-06T06:13:13.642Z  INFO 2707 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-06-06T06:13:13.657Z  INFO 2707 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-06-06T06:13:13.658Z  INFO 2707 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-06-06T06:13:13.659Z  INFO 2707 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-06-06T06:13:13.680Z  INFO 2707 --- [    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=18 roles=ADMIN,MEMBER,MONITOR,READ,WRITE requestSummary={} requestBodySha256=