mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 12:13:55 +09:00
test(clickhouse): give the round-trip's preconditions room for their deletes
The step's ceiling SIGKILLs the shell and reports only "signal: killed", while a kubectl --timeout that fires first names the object that would not go. The deletes it runs now wait up to 270s in all, past the 3m ceiling, so a stuck delete late in the list would be reported by the ceiling instead of by kubectl. Assisted-by: LLM Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io>
This commit is contained in:
1 parent
0dc5a54731
commit
72a94ee426
1 file changed
+4
-1
@@ -438,8 +438,11 @@ spec:
|
||||
steps:
|
||||
- name: preconditions
|
||||
try:
|
||||
# The deletes below wait up to 270s in all (30+30+60+30+30+30+60), so a
|
||||
# stuck one is named by its kubectl --timeout before the 5m ceiling kills
|
||||
# the shell with no object named. A new delete needs its own --timeout.
|
||||
- script:
|
||||
timeout: 3m
|
||||
timeout: 5m
|
||||
content: |
|
||||
set -eu
|
||||
if kubectl -n "$NAMESPACE" get secret seaweedfs-s3-ingress-tls -o name >/dev/null 2>&1; then
|
||||
|
||||
Reference in new issue
Block a user