From a1cf1922bfca688a3cc7663c2531a546854d8145 Mon Sep 17 00:00:00 2001 From: Andre Aguas Date: Sat, 23 Nov 2024 14:50:53 +0100 Subject: [PATCH] fix chainsaw bug When asserting the DNSEndpoint only check the length of the localtargets. This assertion is there to check if the status of the local cluster is correct but the "global targets" depend on the other cluster. Also, increase the timeout to check the status of DNSEndpoint since it was reported they were not created early enough. --- chainsaw/step-templates/init-lbservice.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chainsaw/step-templates/init-lbservice.yaml b/chainsaw/step-templates/init-lbservice.yaml index b58e3f2c5e..e566bb4608 100644 --- a/chainsaw/step-templates/init-lbservice.yaml +++ b/chainsaw/step-templates/init-lbservice.yaml @@ -33,8 +33,8 @@ spec: namespace: ($namespace) spec: endpoints: - - targets: - (length(@)): 2 - - targets: - (length(@)): 2 - timeout: 15s + - dnsName: (join('', ['localtargets-', $test.metadata.name, '.cloud.example.com'])) + targets: + (length(@)): 2 + - dnsName: (join('', [$test.metadata.name, '.cloud.example.com'])) + timeout: 30s