github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/verify-install/validators/validators_test.go (about)

     1  // Copyright (c) 2022, Oracle and/or its affiliates.
     2  // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  package validators
     4  
     5  import (
     6  	. "github.com/onsi/ginkgo/v2"
     7  	"github.com/verrazzano/verrazzano/tests/e2e/pkg/test/framework"
     8  )
     9  
    10  var t = framework.NewTestFramework("validators")
    11  
    12  var _ = t.Describe("Verrazzano Validators Test Suite", Label("f:platform-lcm.install"), func() {
    13  	t.Context("Validator tests", func() {
    14  		// GIVEN A valid verrazzano installation
    15  		// WHEN An attempt to make an illegal jaegerOperator configuration edit is made
    16  		// THEN The validating webhook catches it and rejects it
    17  		t.It("Component Validator v1beta1 Negative Test", runValidatorTestV1Beta1)
    18  		t.It("Component Validator v1alpha1 negative test", runValidatorTestV1Alpha1)
    19  
    20  		// GIVEN A valid verrazzano installation
    21  		// WHEN An attempt to make a mysql PodSepc modification configuration edit is made
    22  		// THEN The MySQL podspec webhook issues a warning
    23  		t.It("Run MySQL podspec warning v1beta1 negative test", runMySQLPodspecEditWarningTestV1Beta1)
    24  		t.It("Run MySQL podspec warning v1alpha1 negative test", runMySQLPodspecEditWarningTestV1Alpha1)
    25  	})
    26  })