Skip to content

Commit

Permalink
fix chainsaw bug
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
abaguas committed Nov 23, 2024
1 parent 85e7b4b commit a1cf192
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chainsaw/step-templates/init-lbservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a1cf192

Please sign in to comment.