mirror of https://github.com/istio/istio.io.git
Fix broken circuit-breaking test (#7866)
* Fix broken circuit-breaking test * supress stderr * curl -quiet * tweak
This commit is contained in:
parent
e835bdbe26
commit
c84690b958
|
@ -105,11 +105,11 @@ governed by Istio.
|
|||
{{< /text >}}
|
||||
|
||||
1. Log in to the client pod and use the fortio tool to call `httpbin`.
|
||||
Pass in `-curl` to indicate that you just want to make one call:
|
||||
Pass in `curl` to indicate that you just want to make one call:
|
||||
|
||||
{{< text bash >}}
|
||||
$ export FORTIO_POD=$(kubectl get pods -lapp=fortio -o 'jsonpath={.items[0].metadata.name}')
|
||||
$ kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio load -curl http://httpbin:8000/get
|
||||
$ kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio curl -quiet http://httpbin:8000/get
|
||||
HTTP/1.1 200 OK
|
||||
server: envoy
|
||||
date: Tue, 25 Feb 2020 20:25:52 GMT
|
||||
|
|
|
@ -77,7 +77,7 @@ kubectl apply -f <(istioctl kube-inject -f samples/httpbin/sample-client/fortio-
|
|||
|
||||
snip_adding_a_client_3() {
|
||||
export FORTIO_POD=$(kubectl get pods -lapp=fortio -o 'jsonpath={.items[0].metadata.name}')
|
||||
kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio load -curl http://httpbin:8000/get
|
||||
kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio curl -quiet http://httpbin:8000/get
|
||||
}
|
||||
|
||||
! read -r -d '' snip_adding_a_client_3_out <<\ENDSNIP
|
||||
|
|
Loading…
Reference in New Issue