[proxy] should not attempt weavewait in on weave container's execs

This commit is contained in:
Paul Bellamy committed 2015-07-15 16:14:14 +01:00
1 parent b476bd2afe
commit e4422205e8
2 files changed
+7 -1

No files matched your search

+4
View File
@@ -21,4 +21,8 @@ COMMITTED_IMAGE=$(proxy docker_on $HOST1 commit c1)
assert_raises "proxy docker_on $HOST1 run --name c2 $COMMITTED_IMAGE"
assert "entrypoint c2" "$(entrypoint $COMMITTED_IMAGE)"
# Check exec works on containers without weavewait
docker_on $HOST1 run -dit --name c3 $SMALL_IMAGE /bin/sh
assert_raises "proxy docker_on $HOST1 exec c3 true"
end_suite