Add integration test for the proxy, using docker-py client
This commit is contained in:
1 parent
6c4271f15d
commit
5a6a67f632
3 files changed
+38
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#! /bin/bash
|
||||
|
||||
. ./config.sh
|
||||
|
||||
start_suite "Run docker-py test suite against the proxy"
|
||||
|
||||
weave_on $HOST1 launch-proxy
|
||||
assert_raises "docker_on $HOST1 ps | grep weaveproxy"
|
||||
assert_raises "docker_on $HOST1 run \
|
||||
-e NOT_ON_HOST=true \
|
||||
-e DOCKER_HOST=tcp://172.17.42.1:12375 \
|
||||
-v /tmp:/tmp \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
joffrey/docker-py python tests/integration_test.py"
|
||||
|
||||
end_suite
|
||||
Reference in new issue
Block a user