Files
floci/src/test/java
Allen Sanborn 8362d0817d fix(core): give launched containers the port Floci listens on (#5754)
ContainerReachableEndpoint now picks the port a launched container can
reach (quarkus.http.port, or floci.port under TLS), but three sites kept
their own copy of the old logic:

- FlociDuckClient built the sidecar's S3 endpoint from the floci.base-url
  port, which under -p 4811:4566 is a host-only port. It now calls
  ContainerReachableEndpoint.baseUrl().
- CodeBuildRunner set AWS_ENDPOINT_URL from floci.port. It now takes the
  port from ContainerReachableEndpoint.port(); hostname logic unchanged.
- EmulatorLifecycle.onHttpStart compared the started server's port with
  floci.port (or a hardcoded 4510 under TLS), so start/ready hooks never
  ran with QUARKUS_HTTP_PORT overridden alone. It now compares against
  quarkus.http.port, which TlsConfigSource already pins to the TLS
  backend.

The DuckDB-backed test profiles set quarkus.http.port alongside their
test port, as SidecarContainersProfile does.
2026-10-15 22:49:53 -05:00
..