Create /var/run/scope directory in test

The scope script is no longer creating it.
This commit is contained in:
Bryan Boreham
2020-12-29 18:48:56 +00:00
parent 4f713984f2
commit f17dceab0d

View File

@@ -20,7 +20,7 @@ has_container "$HOST1" nginx
has_container "$HOST1" client
has_connection containers "$HOST1" client nginx
docker_on "$HOST1" exec weavescope sh -c "echo stop > /var/run/scope/debug-bpf"
docker_on "$HOST1" exec weavescope sh -c "mkdir /var/run/scope && echo stop > /var/run/scope/debug-bpf"
sleep 5
server_on "$HOST1" "nginx2"