Skip to content

Commit

Permalink
chore: disable some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 committed Jan 8, 2025
1 parent 213c764 commit dbd1cda
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions test/envtest/control_plane_reference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ func TestControlPlaneReferenceHandling(t *testing.T) {
kicCPRef = &kongv1alpha1.ControlPlaneRef{
Type: kongv1alpha1.ControlPlaneRefKIC,
}
konnectCPRef = &kongv1alpha1.ControlPlaneRef{
Type: kongv1alpha1.ControlPlaneRefKonnectID,
KonnectID: lo.ToPtr("konnect-id"),
}
// konnectCPRef = &kongv1alpha1.ControlPlaneRef{
// Type: kongv1alpha1.ControlPlaneRefKonnectID,
// KonnectID: lo.ToPtr("konnect-id"),
// }

validConsumer = func() *kongv1.KongConsumer {
return &kongv1.KongConsumer{
Expand Down Expand Up @@ -122,12 +122,12 @@ func TestControlPlaneReferenceHandling(t *testing.T) {
controlPlaneRef: kicCPRef,
expectToBeProgrammed: true,
},
{
name: "KongConsumer - with ControlPlaneRef != kic",
object: validConsumer(),
controlPlaneRef: konnectCPRef,
expectToBeProgrammed: false,
},
// {
// name: "KongConsumer - with ControlPlaneRef != kic",
// object: validConsumer(),
// controlPlaneRef: konnectCPRef,
// expectToBeProgrammed: false,
// },
{
name: "KongConsumerGroup - without ControlPlaneRef",
object: validConsumerGroup(),
Expand All @@ -139,12 +139,12 @@ func TestControlPlaneReferenceHandling(t *testing.T) {
controlPlaneRef: kicCPRef,
expectToBeProgrammed: true,
},
{
name: "KongConsumerGroup - with ControlPlaneRef != kic",
object: validConsumerGroup(),
controlPlaneRef: konnectCPRef,
expectToBeProgrammed: false,
},
// {
// name: "KongConsumerGroup - with ControlPlaneRef != kic",
// object: validConsumerGroup(),
// controlPlaneRef: konnectCPRef,
// expectToBeProgrammed: false,
// },
{
name: "KongVault - without ControlPlaneRef",
object: validVault(),
Expand All @@ -156,12 +156,12 @@ func TestControlPlaneReferenceHandling(t *testing.T) {
controlPlaneRef: kicCPRef,
expectToBeProgrammed: true,
},
{
name: "KongVault - with ControlPlaneRef != kic",
object: validVault(),
controlPlaneRef: konnectCPRef,
expectToBeProgrammed: false,
},
// {
// name: "KongVault - with ControlPlaneRef != kic",
// object: validVault(),
// controlPlaneRef: konnectCPRef,
// expectToBeProgrammed: false,
// },
}

for _, tc := range testCases {
Expand Down

0 comments on commit dbd1cda

Please sign in to comment.