summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-07 21:06:57 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-07 21:06:57 +0900
commit7a34c7c0ed2a7fe332150af7bb001a24c1403969 (patch)
treefb17b5b17ca89272e8f956dd57ef01aeac8d7ec2
parentd65df0b0452e2acb3234836507ba07107035d572 (diff)
test: ignore the failure of caching dependeny with building docker image
`go get -d github.com/osrg/gobgp/...` could fail (e.g., an imported library has gone). After that, we build a docker image from modified source code. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--test/lib/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/base.py b/test/lib/base.py
index 907050bc..0421e9d7 100644
--- a/test/lib/base.py
+++ b/test/lib/base.py
@@ -103,7 +103,7 @@ def make_gobgp_ctn(tag='gobgp', local_gobgp_path='', from_image='osrg/quagga'):
c = CmdBuffer()
c << 'FROM {0}'.format(from_image)
- c << 'RUN go get -d github.com/osrg/gobgp/...'
+ c << 'RUN go get -d github.com/osrg/gobgp/...; exit 0'
c << 'RUN rm -rf /go/src/github.com/osrg/gobgp'
c << 'ADD gobgp /go/src/github.com/osrg/gobgp/'
c << 'RUN go get github.com/osrg/gobgp/...'