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:
Jean Rouge
2019-03-06 17:55:24 -08:00
parent 1d1a765e79
commit b721f8e339
4 changed files with 169 additions and 8 deletions

View File

@@ -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()
})
}