-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
Copy pathcontroller_compat.go
45 lines (38 loc) · 1.33 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
package builds
import (
g "github.com/onsi/ginkgo/v2"
exutil "github.com/openshift/origin/test/extended/util"
)
var _ = g.Describe("[sig-builds][Feature:Builds][Slow] build controller", func() {
defer g.GinkgoRecover()
var (
oc = exutil.NewCLI("build-controllers")
)
g.Context("", func() {
g.BeforeEach(func() {
exutil.PreTestDump()
})
g.AfterEach(func() {
if g.CurrentSpecReport().Failed() {
exutil.DumpPodStates(oc)
exutil.DumpPodLogsStartingWith("", oc)
}
})
g.Describe("RunBuildCompletePodDeleteTest", func() {
g.It("should succeed [apigroup:build.openshift.io]", func() {
RunBuildCompletePodDeleteTest(g.GinkgoT(), oc.BuildClient().BuildV1(), oc.AdminKubeClient(), oc.Namespace())
})
})
g.Describe("RunBuildDeleteTest", func() {
g.It("should succeed [apigroup:build.openshift.io]", func() {
RunBuildDeleteTest(g.GinkgoT(), oc.AdminBuildClient().BuildV1(), oc.AdminKubeClient(), oc.Namespace())
})
})
g.Describe("RunBuildRunningPodDeleteTest", func() {
g.It("should succeed [apigroup:build.openshift.io]", func() {
g.Skip("skipping until devex team figures this out in the new split API setup, see https://bugzilla.redhat.com/show_bug.cgi?id=164118")
RunBuildRunningPodDeleteTest(g.GinkgoT(), oc.AdminBuildClient().BuildV1(), oc.AdminKubeClient(), oc.Namespace())
})
})
})
})