File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed
Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 9999 export PATH=$PATH:$GOPATH/bin
100100 make install-tools
101101 kind create cluster --image kindest/node:"$K8S_VERSION"
102- DOCKER_REGISTRY_SERVER=local-server OPERATOR_IMAGE=local-operator make deploy-kind
103- PATH=$PATH:$(pwd)/bin
104- kubectl-rabbitmq.bats
102+ DOCKER_REGISTRY_SERVER=local-server OPERATOR_IMAGE=local-operator make deploy-kind kubectl-plugin-tests
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ system-tests: install-tools ## Run end-to-end tests against Kubernetes cluster d
165165
166166kubectl-plugin-tests : # # Run kubectl-rabbitmq tests
167167 echo " running kubectl plugin tests"
168- ./bin/kubectl-rabbitmq.bats
168+ PATH= $( PWD ) /bin: $$ PATH ./bin/kubectl-rabbitmq.bats
169169
170170tests : unit-tests integration-tests system-tests kubectl-plugin-tests
171171
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ manage() {
226226}
227227
228228list_rabbitmq_clusters () {
229- kubectl get ${NAMESPACE} rabbitmqclusters
229+ kubectl get ${NAMESPACE} rabbitmqclusters --sort-by= ' {.metadata.name} '
230230}
231231
232232create () {
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ eventually() {
177177 kubectl rabbitmq debug bats-default
178178
179179 # '[debug] <pid> Lager installed handler' is logged even without enabling debug logging
180- eventually " kubectl logs bats-default-server-0 | grep -v ' \[debug \] .* Lager installed handler ' | grep ' \[debug \] '" 30
180+ eventually " kubectl logs bats-default-server-0 | grep -v ' \[dbug \] .* Lager installed handler ' | grep ' \[dbug \] '" 30
181181}
182182
183183@test " delete deletes RabbitMQ cluster" {
You can’t perform that action at this time.
0 commit comments