package update import ( . "github.com/onsi/ginkgo" "mashibing.com/pkg/mashibing-deployment/test/framework" ) // 真正的测试函数 // 测试从Ingress模式更新为Nodeport模式 func UpdateI2NMsbDeployment(ctx *framework.TestContext, f *framework.Framework) { Context("Update msbdeployment mod ingress to nodeport", func() { It("Should be create mod ingress success", func() {}) It("Should be exist msbdeployment", func() {}) It("Should be exist deployment", func() {}) It("Should be exist service", func() {}) It("Should be exist ingress", func() {}) It("Should be update to nodeport success", func() {}) It("Should not be exist ingress", func() {}) }) Context("Delete msbdeployment i2n", func() { It("Should be delete success", func() {}) It("Should not be exist msbdeployment", func() {}) It("Should not be exist deployment", func() {}) It("Should not be exist service", func() {}) It("Should not be exist ingress", func() {}) }) }