File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
test/tests/components/image-builder Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import (
13
13
14
14
"golang.org/x/sync/errgroup"
15
15
"golang.org/x/xerrors"
16
+ "google.golang.org/grpc/codes"
17
+ "google.golang.org/grpc/status"
16
18
"sigs.k8s.io/e2e-framework/pkg/envconf"
17
19
"sigs.k8s.io/e2e-framework/pkg/features"
18
20
@@ -75,6 +77,9 @@ func TestBaseImageBuild(t *testing.T) {
75
77
}
76
78
77
79
if err != nil {
80
+ if st , ok := status .FromError (err ); ok && st .Code () == codes .Unavailable {
81
+ continue
82
+ }
78
83
t .Fatal (err )
79
84
}
80
85
@@ -84,7 +89,7 @@ func TestBaseImageBuild(t *testing.T) {
84
89
} else if msg .Status == imgapi .BuildStatus_done_failure {
85
90
t .Fatalf ("image build failed: %s" , msg .Message )
86
91
} else {
87
- t .Logf ("build output: %s" , msg .Message )
92
+ t .Logf ("build output: %s, %s " , msg .Message , msg . Info )
88
93
}
89
94
}
90
95
if ref == "" {
You can’t perform that action at this time.
0 commit comments