-
Notifications
You must be signed in to change notification settings - Fork 0
/
controller_compat.go
52 lines (46 loc) · 1.48 KB
/
controller_compat.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package builds
import (
"os"
g "github.com/onsi/ginkgo"
"github.com/openshift/origin/test/common/build"
exutil "github.com/openshift/origin/test/extended/util"
)
var _ = g.Describe("[bldcompat][Slow][Compatibility] build controller", func() {
defer g.GinkgoRecover()
var (
oc = exutil.NewCLI("compat-build-controllers", exutil.KubeConfigPath())
)
g.JustBeforeEach(func() {
os.Setenv("OS_TEST_NAMESPACE", oc.Namespace())
})
g.Describe("RunBuildControllerTest", func() {
g.It("should succeed", func() {
build.RunBuildControllerTest(g.GinkgoT(), oc.AdminREST(), oc.AdminKubeREST())
})
})
g.Describe("RunBuildPodControllerTest", func() {
g.It("should succeed", func() {
build.RunBuildPodControllerTest(g.GinkgoT(), oc.AdminREST(), oc.AdminKubeREST())
})
})
g.Describe("RunImageChangeTriggerTest [SkipPrevControllers]", func() {
g.It("should succeed", func() {
build.RunImageChangeTriggerTest(g.GinkgoT(), oc.AdminREST())
})
})
g.Describe("RunBuildDeleteTest", func() {
g.It("should succeed", func() {
build.RunBuildDeleteTest(g.GinkgoT(), oc.AdminREST(), oc.AdminKubeREST())
})
})
g.Describe("RunBuildRunningPodDeleteTest", func() {
g.It("should succeed", func() {
build.RunBuildRunningPodDeleteTest(g.GinkgoT(), oc.AdminREST(), oc.AdminKubeREST())
})
})
g.Describe("RunBuildConfigChangeControllerTest", func() {
g.It("should succeed", func() {
build.RunBuildConfigChangeControllerTest(g.GinkgoT(), oc.AdminREST(), oc.AdminKubeREST())
})
})
})