Skip to content

Commit 8521720

Browse files
committed
TEST
1 parent c96b645 commit 8521720

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

controllers/awscluster_controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,8 +1479,8 @@ func mockedDeleteVPCCalls(m *mocks.MockEC2APIMockRecorder) {
14791479
m.DescribeVpcEndpointsPages(gomock.Eq(&ec2.DescribeVpcEndpointsInput{
14801480
Filters: []*ec2.Filter{
14811481
{
1482-
Name: aws.String("tag-key"),
1483-
Values: []*string{aws.String("sigs.k8s.io/cluster-api-provider-aws/cluster/test-cluster")},
1482+
Name: aws.String("tag:sigs.k8s.io/cluster-api-provider-aws/cluster/test-cluster"),
1483+
Values: []*string{aws.String("owned")},
14841484
},
14851485
{
14861486
Name: aws.String("vpc-id"),

pkg/cloud/services/network/vpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (s *Service) deleteVPCEndpoints() error {
277277
}
278278

279279
// Get all existing endpoints.
280-
endpoints, err := s.describeVPCEndpoints(filter.EC2.Cluster(s.scope.Name()))
280+
endpoints, err := s.describeVPCEndpoints(filter.EC2.ClusterOwned(s.scope.Name()))
281281
if err != nil {
282282
return errors.Wrap(err, "failed to describe vpc endpoints")
283283
}

test/e2e/shared/suite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func Node1BeforeSuite(e2eCtx *E2EContext) []byte {
145145
success = false
146146
}
147147
return success
148-
}, 30*time.Minute, 15*time.Second).Should(BeTrue(), "Should've eventually succeeded creating an AWS CloudFormation stack")
148+
}, 15*time.Minute, 5*time.Second).Should(BeTrue(), "Should've eventually succeeded creating an AWS CloudFormation stack")
149149
}
150150

151151
ensureStackTags(e2eCtx.AWSSession, bootstrapTemplate.Spec.StackName, bootstrapTags)

0 commit comments

Comments
 (0)