[
https://issues.apache.org/jira/browse/FLINK-26309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-26309:
-----------------------------------
Labels: curiosity investigation stale-assigned (was: curiosity
investigation)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issue is assigned but has not
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a
comment updating the community on your progress. If this issue is waiting on
feedback, please consider this a reminder to the committer/reviewer. Flink is a
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone
else may work on it.
> Add a polling strategy to determine whether Localstack test container has
> started
> ---------------------------------------------------------------------------------
>
> Key: FLINK-26309
> URL: https://issues.apache.org/jira/browse/FLINK-26309
> Project: Flink
> Issue Type: Technical Debt
> Components: Connectors / Common
> Reporter: Zichen Liu
> Assignee: Zichen Liu
> Priority: Minor
> Labels: curiosity, investigation, stale-assigned
>
> The localstack container is used to mock aws services so tests can hit a mock
> endpoint. When we start the container, it occasionally fails with the
> exception: {{IOException - closed before protocol could be determined.}} This
> is what happens whenever we make a request (e.g. read from mock s3) prior to
> the container being ready**. A similar issue was resolved in Kinesalite by
> increasing the timeout from 1s to 10s, but Localstack is a larger box. In
> #18887 we increased the timeout to 30s, which would be sufficient for it to
> start. However, it would be better to use [this
> strategy|[https://ignas.me/tech/waiting-localstack-s3-start/]] to know sooner.
> ** This is a known limitation, please see issue
> [#1202|https://github.com/localstack/localstack/issues/1202] in
> Localstack/localstack or this [blog
> post|https://ignas.me/tech/waiting-localstack-s3-start/].
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)