Skip to content

Add new waiting strategy and timeout guards to Exasol container creation#27941

Merged
findepi merged 1 commit intotrinodb:masterfrom
pj-spoelders:exasol_wait_strategy_update
Mar 27, 2026
Merged

Add new waiting strategy and timeout guards to Exasol container creation#27941
findepi merged 1 commit intotrinodb:masterfrom
pj-spoelders:exasol_wait_strategy_update

Conversation

@pj-spoelders
Copy link
Copy Markdown
Contributor

@pj-spoelders pj-spoelders commented Jan 16, 2026

Description

Update to waiting strategies used for the Exasol docker container to come up for the product tests:

  • We've replaced the old port waiting strategy with a curl script that checks if Exasol is up and properly responding.

  • We've also added a timeout guard to both waiting strategies: This should solve the issue with product tests hanging if the database doesn't properly start.

Additional context and related issues

This was done in light of: #27339

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@cla-bot cla-bot bot added the cla-signed label Jan 16, 2026
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch from 577ada2 to b394e4c Compare January 16, 2026 14:11
@pj-spoelders pj-spoelders marked this pull request as ready for review January 16, 2026 15:07
@pj-spoelders pj-spoelders changed the title Add new waiting strategy and timeouts to Exasol container creation Add new waiting strategy and timeout guards to Exasol container creation Jan 16, 2026
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 6 times, most recently from 440c4f3 to edcab9c Compare January 26, 2026 12:04
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 2 times, most recently from 2e8c138 to 8921de0 Compare January 28, 2026 14:15
@findepi findepi requested a review from Praveen2112 February 6, 2026 21:41
@findepi findepi added the no-release-notes This pull request does not require release notes entry label Feb 6, 2026
@findepi
Copy link
Copy Markdown
Member

findepi commented Feb 6, 2026

@pj-spoelders the build isn't quite green. if this is not related to this PR, please rebase

@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch from 8921de0 to e3b66a8 Compare February 7, 2026 10:03
@pj-spoelders
Copy link
Copy Markdown
Contributor Author

I've rebased @findepi

@findepi findepi requested review from Praveen2112 and ebyhr and removed request for Praveen2112 February 7, 2026 16:13
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 2 times, most recently from 6642a90 to d690fb1 Compare February 11, 2026 12:30
@pj-spoelders pj-spoelders marked this pull request as draft February 11, 2026 12:53
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 2 times, most recently from c6fbbfa to 5be8578 Compare February 11, 2026 14:35
@pj-spoelders pj-spoelders requested a review from ebyhr February 11, 2026 15:26
@pj-spoelders pj-spoelders marked this pull request as ready for review February 11, 2026 16:30
@ebyhr
Copy link
Copy Markdown
Member

ebyhr commented Feb 11, 2026

We've also added a timeout guard to both waiting strategies: This should solve the issue with product tests hanging if the database doesn't properly start.

@pj-spoelders The default timeout is 30s (StartupCheckStrategy.timeout), right? How does this change (30s → 10s) resolve the hanging issue?

@ebyhr ebyhr force-pushed the exasol_wait_strategy_update branch from 5be8578 to d44b0c3 Compare February 11, 2026 22:42
@pj-spoelders
Copy link
Copy Markdown
Contributor Author

We've also added a timeout guard to both waiting strategies: This should solve the issue with product tests hanging if the database doesn't properly start.

@pj-spoelders The default timeout is 30s (StartupCheckStrategy.timeout), right? How does this change (30s → 10s) resolve the hanging issue?

It is the exasolReadyViaCurl() waiting strategy that's meant to solve the timeout issue. It waits for a maximum of 5 minutes.
I added an explicit timeout to the containerStartupCheckStrategy for clarity.

@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 4 times, most recently from c7b810c to ce06b7b Compare February 19, 2026 10:02
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 3 times, most recently from c30d80b to 54f81e9 Compare February 25, 2026 09:30
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 2 times, most recently from aa9cb27 to 7422422 Compare March 9, 2026 16:31
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch 2 times, most recently from 1f2f751 to 66e022f Compare March 17, 2026 20:40
@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch from 66e022f to 81e716c Compare March 19, 2026 12:32
@vlad-lyutenko
Copy link
Copy Markdown
Contributor

Looks like all comments addressed, LGTM

@pj-spoelders pj-spoelders force-pushed the exasol_wait_strategy_update branch from 81e716c to e72896e Compare March 19, 2026 14:29
@findepi
Copy link
Copy Markdown
Member

findepi commented Mar 27, 2026

Thank you @pj-spoelders for your work!
Thank you @ebyhr @vlad-lyutenko @marcinsbd for review

@findepi findepi merged commit 6c66095 into trinodb:master Mar 27, 2026
47 checks passed
@github-actions github-actions bot added this to the 481 milestone Mar 27, 2026
@ebyhr ebyhr mentioned this pull request Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

6 participants