You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
976 B
32 lines
976 B
2 years ago
|
package update
|
||
|
|
||
|
import (
|
||
|
. "github.com/onsi/ginkgo"
|
||
|
|
||
|
"mashibing.com/pkg/mashibing-deployment/test/framework"
|
||
|
)
|
||
|
|
||
|
// 真正的测试函数
|
||
|
|
||
|
// 测试从Nodeport模式更新为Ingress模式
|
||
|
func UpdateN2IMsbDeployment(ctx *framework.TestContext, f *framework.Framework) {
|
||
|
Context("Update msbdeployment mod nodeport to ingress", func() {
|
||
|
It("Should be create mod nodeport success", func() {})
|
||
|
It("Should be exist msbdeployment", func() {})
|
||
|
It("Should be exist deployment", func() {})
|
||
|
It("Should be exist service", func() {})
|
||
|
It("Should not be exist ingress", func() {})
|
||
|
|
||
|
It("Should be update to ingress success", func() {})
|
||
|
It("Should be exist ingress", func() {})
|
||
|
})
|
||
|
|
||
|
Context("Delete msbdeployment n2i", 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() {})
|
||
|
})
|
||
|
}
|