mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-01-12 07:04:04 +00:00
Set timeouts on curl requests in CI
This commit is contained in:
parent
75593d0f52
commit
bca3d88799
2 changed files with 5 additions and 0 deletions
1
newsfragments/935.internal.md
Normal file
1
newsfragments/935.internal.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
CI: set timeouts for curl so it doesn't attempt to connect for longer than `Pod` startup time.
|
||||
|
|
@ -261,6 +261,10 @@ async def has_actual_metrics_on_endpoint(
|
|||
"curl",
|
||||
[
|
||||
"-s",
|
||||
"--connect-timeout",
|
||||
"2",
|
||||
"--max-time",
|
||||
"5",
|
||||
f"http://{service.metadata.name}.{generated_data.ess_namespace}.svc.cluster.local:{port_spec.port}/metrics",
|
||||
],
|
||||
restart_policy="OnFailure",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue