Skip to content

Commit

Permalink
Merge pull request #7381 from TiberiuGC/skip-pod-id-migration-test
Browse files Browse the repository at this point in the history
Skip pod identity migration integration tests
  • Loading branch information
cPu1 authored Dec 8, 2023
2 parents 8c6ecb8 + 138b303 commit 3f0c3f5
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ var _ = Describe("(Integration) [PodIdentityAssociations Test]", func() {
})

It("should create a cluster with iam service accounts", func() {
Skip("until integration test account is amended with the required permissions")
cfg.IAM = &api.ClusterIAM{
WithOIDC: aws.Bool(true),
ServiceAccounts: []*api.ClusterIAMServiceAccount{
Expand Down Expand Up @@ -139,6 +140,7 @@ var _ = Describe("(Integration) [PodIdentityAssociations Test]", func() {
})

It("should migrate to pod identity associations", func() {
Skip("until integration test account is amended with the required permissions")
Expect(params.EksctlUtilsCmd.
WithArgs(
"migrate-to-pod-identity",
Expand All @@ -149,6 +151,7 @@ var _ = Describe("(Integration) [PodIdentityAssociations Test]", func() {
})

It("should fetch all expected associations", func() {
Skip("until integration test account is amended with the required permissions")
var output []podidentityassociation.Summary
session := params.EksctlGetCmd.
WithArgs(
Expand All @@ -162,6 +165,7 @@ var _ = Describe("(Integration) [PodIdentityAssociations Test]", func() {
})

It("should not return any iam service accounts", func() {
Skip("until integration test account is amended with the required permissions")
Expect(params.EksctlGetCmd.
WithArgs(
"iamserviceaccount",
Expand All @@ -170,6 +174,7 @@ var _ = Describe("(Integration) [PodIdentityAssociations Test]", func() {
})

It("should fail to update an owned migrated role", func() {
Skip("until integration test account is amended with the required permissions")
session := params.EksctlUpdateCmd.
WithArgs(
"podidentityassociation",
Expand All @@ -183,6 +188,7 @@ var _ = Describe("(Integration) [PodIdentityAssociations Test]", func() {
})

It("should update an unowned migrated role", func() {
Skip("until integration test account is amended with the required permissions")
Expect(params.EksctlUpdateCmd.
WithArgs(
"podidentityassociation",
Expand All @@ -195,6 +201,7 @@ var _ = Describe("(Integration) [PodIdentityAssociations Test]", func() {
})

It("should delete an owned migrated role", func() {
Skip("until integration test account is amended with the required permissions")
Expect(params.EksctlDeleteCmd.
WithArgs(
"podidentityassociation",
Expand Down

0 comments on commit 3f0c3f5

Please sign in to comment.