fix: wait for startup scripts to complete by codingkiddo · Pull Request #156 · floci-io/testcontainers-floci (original) (raw)

Summary

Update FlociContainer to wait for Floci initialization readiness instead of only the health endpoint.

/_floci/health can return 200 while start.d scripts are still running. Waiting for /_floci/init with "ready": true ensures startup scripts have completed before container.start() returns.

Fixes #151

Type of change

Checklist

Verification

Note: full mvn verify had unrelated baseline failures locally in CloudFront, Config, and Neptune service tests before this change.