File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -141,10 +141,6 @@ clean:
141
141
create-metrics-svc :
142
142
kubectl create -f deploy/example/metrics/csi-blob-controller-svc.yaml
143
143
144
- .PHONY : create-example-deployment
145
- create-example-deployment :
146
- ./hack/verify-examples.sh
147
-
148
144
.PHONY : delete-metrics-svc
149
145
delete-metrics-svc :
150
146
kubectl delete -f deploy/example/metrics/csi-blob-controller-svc.yaml --ignore-not-found
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ kubectl apply -f deploy/example/deployment.yaml
21
21
kubectl apply -f deploy/example/statefulset.yaml
22
22
kubectl apply -f deploy/example/statefulset-nonroot.yaml
23
23
24
- echo " sleep 90s ..."
25
- sleep 90
24
+ echo " sleep 60s ..."
25
+ sleep 60
26
26
27
27
kubectl get pods --field-selector status.phase=Running | grep deployment-blob
28
28
kubectl get pods --field-selector status.phase=Running | grep statefulset-blob-0
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import (
27
27
"path/filepath"
28
28
"strings"
29
29
"testing"
30
- "time"
31
30
32
31
"github.com/onsi/ginkgo"
33
32
"github.com/onsi/ginkgo/reporters"
@@ -118,14 +117,12 @@ var _ = ginkgo.BeforeSuite(func() {
118
117
119
118
var _ = ginkgo .AfterSuite (func () {
120
119
createExampleDeployment := testCmd {
121
- command : "make " ,
122
- args : []string {"create-example-deployment " },
120
+ command : "bash " ,
121
+ args : []string {"hack/verify-examples.sh " },
123
122
startLog : "create example deployments" ,
124
123
endLog : "example deployments created" ,
125
124
}
126
125
execTestCmd ([]testCmd {createExampleDeployment })
127
- // sleep 120s waiting for deployment running complete
128
- time .Sleep (120 * time .Second )
129
126
130
127
blobLog := testCmd {
131
128
command : "bash" ,
You can’t perform that action at this time.
0 commit comments