Files
cozystack/hack/e2e-apps
Aleksei Sviridkin 4a44a14fa5 test(e2e): wait 10m for tenant worker MachineDeployment to match the bootstrap budget
The md0 MachineDeployment scale-to-2 wait in run-kubernetes.sh gave up
after 5m, but the product can legitimately take up to 10m to get there.
The MachineDeployment bootstrap.configRef gates on a TalosConfigTemplate
that is only produced once the talos-reconcile hook Job observes its PKI
lookup inputs (apiserver Service ClusterIP, Talos CA, K8s CA, management
CoreDNS). That Job's own wait loop budgets 10m (120 x 5s) for those
inputs, so on a cold-start CI sandbox the test could time out while the
product was still within its real budget, surfacing as md0 stuck
ScalingUp "blocked because TalosConfigTemplate does not exist".

Raise the test wait from 5m to 10m to match the bootstrap budget and the
later readyReplicas wait, which is already 10m. Both kubernetes-latest
and kubernetes-previous source this one script, so the single change
covers both variants.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-06-29 23:53:44 +03:00
..