[
https://issues.apache.org/jira/browse/KNOX-3388?focusedWorklogId=1031631&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1031631
]
ASF GitHub Bot logged work on KNOX-3388:
----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Jul/26 08:26
Start Date: 22/Jul/26 08:26
Worklog Time Spent: 10m
Work Description: smolnar82 merged PR #1316:
URL: https://github.com/apache/knox/pull/1316
Issue Time Tracking
-------------------
Worklog Id: (was: 1031631)
Time Spent: 0.5h (was: 20m)
> Single-EKU test gateway startup is slow/flaky: batch credential-store alias
> creation
> ------------------------------------------------------------------------------------
>
> Key: KNOX-3388
> URL: https://issues.apache.org/jira/browse/KNOX-3388
> Project: Apache Knox
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The single-EKU compose entrypoint (gateway-single-eku.sh) creates its 5
> credential-store aliases with one {{knoxcli.sh create-alias}} call each.
> Every call is a cold JVM boot (~6-8s), so ~30-40s elapses before the gateway
> JVM even starts. In CI the "sleep 30" wait starts at container start and is
> fully consumed by alias creation, so the gateway binds 8443 only after
> {{pytest}} connects -> intermittent "Connection refused" in the single-EKU
> mTLS suite.
> Fix: create all 5 aliases in a single {{knoxcli.sh create-aliases}}
> invocation.
> Container-start -> "Started gateway on port 8443" drops from ~35s to ~9s.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)