Adding an e2e test on Windows GMSA support
This patch is adding an e2e on the Windows GMSA support added in https://github.com/kubernetes/kubernetes/pull/73726 and https://github.com/kubernetes/kubernetes/pull/74737. Signed-off-by: Jean Rouge <rougej+github@gmail.com>
This commit is contained in:
@@ -16,9 +16,20 @@ limitations under the License.
|
||||
|
||||
package windows
|
||||
|
||||
import "github.com/onsi/ginkgo"
|
||||
import (
|
||||
"k8s.io/kubernetes/test/e2e/framework"
|
||||
|
||||
"github.com/onsi/ginkgo"
|
||||
)
|
||||
|
||||
// SIGDescribe annotates the test with the SIG label.
|
||||
func SIGDescribe(text string, body func()) bool {
|
||||
return ginkgo.Describe("[sig-windows] "+text, body)
|
||||
return ginkgo.Describe("[sig-windows] "+text, func() {
|
||||
ginkgo.BeforeEach(func() {
|
||||
// all tests in this package are Windows specific
|
||||
framework.SkipUnlessNodeOSDistroIs("windows")
|
||||
})
|
||||
|
||||
body()
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user