File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 5
5
o "github.com/onsi/gomega"
6
6
7
7
exutil "github.com/openshift/origin/test/extended/util"
8
+ e2e "k8s.io/kubernetes/test/e2e/framework"
8
9
)
9
10
10
11
const (
@@ -26,6 +27,18 @@ var _ = g.Describe("[builds][Conformance] oc new-app", func() {
26
27
o .Expect (err ).NotTo (o .HaveOccurred ())
27
28
})
28
29
30
+ g .AfterEach (func () {
31
+ if ! g .CurrentGinkgoTestDescription ().Failed {
32
+ return
33
+ }
34
+ out , err := oc .Run ("describe" ).Args ("is/nodejs" , "-n" , "openshift" ).Output ()
35
+ if err != nil {
36
+ e2e .Logf ("Error getting image stream: %v" , err )
37
+ return
38
+ }
39
+ e2e .Logf ("\n %s\n " , out )
40
+ })
41
+
29
42
g .It ("should succeed with a --name of 58 characters" , func () {
30
43
g .By ("calling oc new-app" )
31
44
err := oc .Run ("new-app" ).Args ("https://github.com/openshift/nodejs-ex" , "--name" , a58 ).Execute ()
You can’t perform that action at this time.
0 commit comments