eks: integ.eks-helm-asset.ts is failing #25438
Labels
@aws-cdk/aws-eks
Related to Amazon Elastic Kubernetes Service
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
In
integ.eks-helm-asset.ts
, two helm charts with exactly the same release name might lead to race condition with the error and fail the integ test.aws-cdk/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/integ.eks-helm-asset.ts
Lines 71 to 89 in aff7ff4
Expected Behavior
yarn integ
on this integ test should succeed with no error.Current Behavior
Reproduction Steps
Just
yarn integ
on this test with--force
to force the deployment.Possible Solution
I tried to build dependency between them but the error still occurred. This is because helm chart install is async and when the custom resource returns it does mean the release has completely installed. Generally, we don't add two helm charts with the same release name like that in real environment. We probably should replace one of them with another helm chart to avoid that.
Additional Information/Context
No response
CDK CLI Version
2.77.0
Framework Version
No response
Node.js Version
1.16
OS
mac os x
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: