Skip to content

Commit 2940501

Browse files
CarliJoyclaude
authored andcommitted
fix(trino): increase default startup timeout from 30s to 60s
30s was not enough for the JVM to emit the startup log message under load when running the full test suite in parallel. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c93cfcf commit 2940501

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

docs/modules/trino_example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import trino
2-
from trino.exceptions import TrinoQueryError
3-
42
from testcontainers.community.trino import TrinoContainer
3+
from trino.exceptions import TrinoQueryError
54

65

76
def basic_example():

src/testcontainers/community/trino/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(
2323
image="trinodb/trino:latest",
2424
user: str = "test",
2525
port: int = 8080,
26-
container_start_timeout: int = 30,
26+
container_start_timeout: int = 60,
2727
wait_strategy_check_string: str = ".*======== SERVER STARTED ========.*",
2828
**kwargs,
2929
):

0 commit comments

Comments
 (0)